Question: c# Do you know your loops? Weve learned about three different kinds of loops in this module WHILE loops, DO-WHILE loops, and FOR loops. In

c#

Do you know your loops? Weve learned about three different kinds of loops in this module WHILE loops, DO-WHILE loops, and FOR loops. In this assignment, were going to make sure you know what each one does. You will prompt the user to choose one of the following loops: 1. A loop that might run zero or more times 2. A loop that will always run at least once 3. A loop with a predetermined start and end After the choice, you will prompt the user to enter a start number. If they chose option 3, you must also ask them to enter an end number. You must then use the correct loop (based on the users choice) to print out numbers from the starting point to the end number. For options 1 and 2, the end number is 0, while for option 3 the user will define the end number themselves. Note that the loops will always count down from the start number. Review your lecture material to know which loop should be used for each option.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!