Untitled
unknown
plain_text
2 years ago
266 B
20
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