Write program to read integer no. then check no. even no. or odd. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write program to read integer no. then check no. even no. or odd.

answer

1st Mar 2017, 5:27 PM
Mutlu Ol Yeter
3 Answers
0
do you want help regarding this or checking our knowledge?
1st Mar 2017, 5:31 PM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar
0
I'm not a C++ programmer so use this with your syntax.. Request input Set input as variable (in this example, "num") If num%2 == 0 Print (" this is even") Else Print ("this is odd")
1st Mar 2017, 5:38 PM
Sterling Richard
Sterling Richard - avatar
0
I just posted this yesterday.. Look at my profile
1st Mar 2017, 6:42 PM
Alejandro Serrato
Alejandro Serrato - avatar