1. Write a for loop that displays the following set of numbers:
0, 10, 20, 30, 40, 50 ... 1000
2. Write a loop that asks the user to enter a number. The loop should iterate 10 times and keep a running total of the numbers entered.
3. Write a for loop that calculates the total of the following series of numbers:
1
30 + 2
29 + 3
28 + . . . 30
4. Write a nested loop that displays 10 rows of '#' characters. There should be 15 '#' characters in each row.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here