Untitled
Anonymous
plain_text
04/19/2024 4:37 AM
356 B
26
Indexable
#include <stdio.h>
unsigned long factorial(unsigned int n)
{
}
int main()
{
unsigned int number = 6;
unsigned long fac = factorial(number);
if (fac == 720)
{
printf("Good job!");
}
else
{
printf("Not exactly.");
}
}Editor is loading...
Leave a Comment