Question: PROGRAM (2): Based on what you have learned from the Iterative Statements example, write a C# Program Console Program (with Iterative Statements) that does the
PROGRAM (2): Based on what you have learned from the Iterative Statements example, write a C\# Program Console Program (with Iterative Statements) that does the following: 1. Choose to write your program with only one of the three choices of Iterative Statements: While, For, or Do While (Choose at least 1). 2. Ask the user to enter an integer value between 1 and 100. 3. Ask the user to specify a series of integer numbers. There are two options: even numbers and odd numbers. 4. Then, have the program display the following message: "You have selected the "series name' series. The numbers between 0 and "user's input' are:" 5. Finally, have the program display all the numbers from the series between 0 and the user's input. NOTE: Use a try/catch block to validate the user's entry
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
