The problem is to check the given numbers are odd or even having the parameters a.
The output is to print the numbers as odd or even
2.Input the parameters by the user.
i.e. int a;
3.if a is divided by two and remainder ‘r’ is zero.Then the number is even else odd.\
4.Print the parameters a as odd or even.
fig: flowchart to print odd or even.
Compiling , Debugging and Testings.
Enter a: 5
5 is odd.