Question: please use c++ Program #1 Since we're now dealing with iteration logic in the labs and lecture, here are some small looping problems for practice.

please use c++

please use c++ Program #1 Since we're now dealing with iteration logicin the labs and lecture, here are some small looping problems for

Program #1 Since we're now dealing with iteration logic in the labs and lecture, here are some small looping problems for practice. For the first problem in this homework, write a single program that does the following a) prints out the even integers between 2 and 100. b) prints out the integers that are multiples of 3 from 99 down to 3. c prins out the integers between 2 and 1,048,576 (220) that are integer powers of 2. d) prints out the integers between 1,048,576 down to 2 that are integer powers of 2. e does something new involving loops, different than any of the above. (This is an exercise in being creative. Give yourself a task and solve it.) For each of these problems, include a counter variable inside the loop that counts how many numbers are printed out. Report that result as well. The results for problems (a) and (b) should be printed out with 10 integers per line, right justified in a 5 byte field. For example, the output for the even integers between 2 and 40 will look like

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!