Question: Please help in C++ Program#2 Ask the user to enter a number. Then tell the user whether the number is positive or negative and whether
Program#2 Ask the user to enter a number. Then tell the user whether the number is positive or negative and whether the number is even or odd. (Note that 0 is considered to be even and positive.) Your program should also make sure that valid input has been entered After your program has processed a single number, it should ask the user if he wants to try another number. If the user answers yes your program should repeat If the user answers no (n) your program should end. Example: Enter an integex:-28 -28 is negative 28 is even Would you like to enter snother numbex (y ox n)y Enter an integex: 17 17 is positive 17 is odd Would you like to enter another numbex (y ox n)? n OK. Goodbye Submit : Final pseudocode. (Note: Your working pseudocode will a so be due one week before the program.) . Fully commented program. (.cpp ile)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
