Open Munkhbilegb opened 1 year ago
int main(void) { int x,factorial =1; // define integer x scanf("%d", &x); // obtain integer x from user while(x >= 1){ factorial = factorial * x; x--;
} printf("%d", factorial);
// print factorial
}
Add the C code to the code section
Please start to remember what you have done for your C beginning classes. Or learn it anew!
As the Development Manager, your tasks include: