/* C program to print whether a number is even or odd */
In this program, input by user and do check this number is odd vs even number using if - else statement and show output this number is odd vs even.
In this program, input by user and do check this number is odd vs even number using if - else statement and show output this number is odd vs even.
Understand algorithms
Take input to user
user input - 5
/* check to loop */
if ( num % 2 == 0)
print = number is even.
else
print = number is odd.
/* loop end */
output - Number is odd.
output - Number is odd.
Let's Start --
Program ---
Output ---




0 Comments
If you have any doubts about the Programming language & Basic Computer. Please let me know.