Question: 2. Write a C++ program using loops to implement the following task. You can use either while or for loops a. Print all multiples
2. Write a C++ program using loops to implement the following task. You can use either while or for loops a. Print all multiples of 7 between 1 and 100 b. Print all odd numbers between 70 and -91 c. Add all numbers between 2 and 300. Finally print the sum outside the loop d. Multiply all numbers between -100 and -2. Finally print the product outside the loop.
Step by Step Solution
3.42 Rating (155 Votes )
There are 3 Steps involved in it
heres the solution for the C program using loops C includ... View full answer
Get step-by-step solutions from verified subject matter experts
