Question: 1. (5 pts) Construct a while ) loop, which prints the integer numbers in the range n downto 1. Where n is an integer entered

1. (5 pts) Construct a while ) loop, which prints the integer numbers in the range n downto 1. Where n is an integer entered by the user. You may assume that n is positive. Show all variable declarations and the prompt for n, along with the appropriate loop. If n is 5, then the output should look like: 4 2. (5 pts) Construct a for ) loop, which counts the number of multiples of 11 AND 33 in the range 1 n. Where n is an integer entered by the user. You may assume that n is positive. Show all variable declarations and the prompt for n, along with the appropriate loop. 3. (5 pts) Construct a do-while ) loop, which continues to display the following menu: 1. Play game 2. Exit and prompt the user for an option, while the option entered by the user is not in the range 1- 2, inclusive. Note: you are constructing an input validation loop. Show all variable declarations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
