Question: 4. Design a loop that asks the user to enter a number. The loop should ite and keep a running total of the numbers entered.

 4. Design a loop that asks the user to enter a

4. Design a loop that asks the user to enter a number. The loop should ite and keep a running total of the numbers entered. 5. Design a For loop that calculates the total of the following series of n 1 2 3 30 ) ha 30.29 +28+ I s deer 6. Design a nested loop that displays 10 rows of #characters. There sh characters in each row. 7. Convert the While loop in the following code to a Do-While loop: Declare Integer x = 1 While x > 0 Display "Enter a number." Input x End While 8. Convert the Do-While loop in the following code to a While loop: Declare String sure Do Display "Are you sure you want to quit?" Input sure While sure != "Y" AND sure != "y" 9. Convert the following While loop to a For loop: Declare Integer count = 0 While count 0 Display "Enter a number." Input x End While 8. Convert the Do-While loop in the following code to a While loop: Declare String sure Do Display "Are you sure you want to quit?" Input sure While sure != "Y" AND sure != "y" 9. Convert the following While loop to a For loop: Declare Integer count = 0 While count

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!