Question: EVEN and ODD Number Write an algorithm in pseudocode and draw a flowchart that finds if the number is even or odd. It should ask
EVEN and ODD Number Write an algorithm in pseudocode and draw a flowchart that finds if the number is even or odd. It should ask the user to enter a positive number only and then display if the number is EVEN or ODD. If user enters a negative number, then it should display a message Enter a valid Number and ask the user to enter a number again. The user will repeatedly enter the number to find Even or Odd, and to exit the program or algorithm the user enters a letter S. Hint: Use the nested loop.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
