Home > Back-end >  Completion program
Completion program

Time:05-25

Supplementary application, makes the program run time lose a non-zero positive integer, if is even, then output "even", if the odd number, then output "odd",
# include stdlib. H>
Nt Num ([1])
F (x % 2==0) (2),
If (Num) (a) printf (" even ")
Printf (" odd ")

CodePudding user response:

1) int x
2) return 1;
  • Related