1. Design a For loop that calculates the total of the followingseries of numbers:
1
30
2
29
3
28
30
1
+ + + . . .
2. Design a nested loop that displays 10 rows of # characters.There should be 15 #
characters in each row.
3. Convert the While loop in the following code to a Do-Whileloop:
Declare Integer x = 1
While x > 0
Display “Enter a number.”
Input x
End While
Using visual basic with all
Expert Answer
An answer will be send to you shortly. . . . .