- Write a program that uses a for loop to print a line of 60 asterisks.
- Write a for loop that will produce each of following sequences:
a. 6, 8, 10, 12, …, 66
b. 7, 9, 1 1, 13, …, 67
c. 1 he sum of the numbers between 1 and 1 5 inclusive
d. I he sum of the odd numbers between 1 5 and 45 inclusive
e. The first 50 numbers in the series 1 , 4, 7, 10, … (calculate the total 1 + 4 + 7 + 10 + …)
The post Write a program that uses a for loop to print a line of 60 appeared first on Assignment Freelancers.