Course Solutions Uncategorized (Solved) : 1 Convert Loop Following Code Loop Declare String Sure Display Sure Want Quit Input Sure S Q37993281 . . . .

(Solved) : 1 Convert Loop Following Code Loop Declare String Sure Display Sure Want Quit Input Sure S Q37993281 . . . .

 

1. Convert the Do-While loop in the following code to a Whileloop:
Declare String sure
Do
Display “Are you sure you want to quit?”
Input sure
While sure != “Y” AND sure != “y”

2. Convert the following While loop to a For loop:
Declare Integer count = 0
While count < 50
Display “The count is “, count
Set count = count + 1
End While

3.Convert the following For loop to a While loop:
Declare Integer count
For count = 1 To 50
Display count
End For

Using visual basic

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post