Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int a = 0;
- int runner = 1;
- int b = a;
- if (a == 0) {
- printf("%d", 1);
- } else if ((a > 0) && (a < 13)) {
- while (runner < b){
- a = a * runner;
- runner = runner + 1;
- }
- printf("%d", a);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment