Question: Q6 in C # MGIS 2320 - 06 Write a console application to total a set of numbers indicated and provided by a user, using

Q6
in C #  Q6 in C # MGIS 2320 - 06 Write a console

MGIS 2320 - 06 Write a console application to total a set of numbers indicated and provided by a user, using a while loop, a do-while loop, or a for loop according to the user's menu choice as follows: Example Example Example Menu Menu Menu 1. To total numbers using a while loop 1. To total numbers using a while loop 1. To total numbers using a while loop 2. To total numbers using a do-while loop 2. To total numbers using a do-while loop 2. To total numbers using a do-while loop 3. To total numbers using a for loop 3. To total numbers using a for loop 3. To total numbers using a forloop Enter your menu choice: 1 Enter your menu choice: 2 Enter your menu choice: 3 How many numbers do you want to add: 2 How many numbers do you want to add: 2 How many numbers do you want to add 2 Enter a value for number 1-4 Enter a value for number 1: 4 Enter a value for number 1: 4 Enter a value for number 2.5 Enter a value for number 2: 5 Enter a value for number 25 The total is: 9 The total is 9 The total is: 9 Press Yory to exit or any other key to repeat: Press Yory to exit or any other key to repeat: Press Yory to exit or any other key to repeat: 9 k Menu Menu Menu 1.To total numbers using a while loop 1. To total numbers using a while loop 1. To total numbers using a while loop 2. To total numbers using a do-while loop. 2. To total numbers using a do-while loop, 2. To total numbers using a do-while loop 3. To total numbers using a for loop 3. To total numbers using a for loop 3. To total numbers using a for loop Enter your menu choice: Enter your menu choice: 2 Enter your menu choice: 3 How many numbers do you want to add: 4 How many numbers do you want to add: 4 How many numbers do you want to add 4 Enter a value for number 1:3 Enter a valoe for number 1:3 Enter a value for number 1:3 Enter a value for number 2 2 Enter a value for number 2:2 Enter a value for number 2 2 Enter a value for number 3.5 Enter a value for number 3.5 Enter a value for number 3.5 Enter a value for number 4.1 Enter a value for number 4:1 Enter a value for number 4.1 The total is: 11 The total is 11 The total is: 11 Press Yory to exit or any other key to repeat: Press Yer y to exit or any other key to repeat: Press Y or y to exit or any other key to repeat: Y Requirements 1. All the values above are only examples. 2. Menu choice 1 will total numbers provided by the user using a while loop. 3. Menu choice 2 will total numbers provided by the user using a do- while loop. 4. Menu choice 3 will total numbers provided by the user using a for loop. s. The message "Enter a value for number # must include a sequence number (i.e. 1, 2, 3, 4, 5, 6, ...). 6. At the end, the program will ask if the user wants to exit or repeat the program (e.g. Y or y to exit). 7. Submitting a 100% working Q6 will also automatically give you 100 points for Q5. Otherwise, Q5 should be submitted separately

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!