Question: please satified the a~e for explain. Please using visual studio 2015 c++. how to give code and pseudo code. Also, can I have some comment

 please satified the a~e for explain. Please using visual studio 2015c++. how to give code and pseudo code. Also, can I have

please satified the a~e for explain. Please using visual studio 2015 c++. how to give code and pseudo code. Also, can I have some comment each coding and show me result. thank you :)

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) prints out the integers between 2 and 1,048,576 20 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 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 Number of numbers 20

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!