Question: 3. Write a program that asks for an integer and then prints all the integers from (and including) that value up to (and including) a

 3. Write a program that asks for an integer and then

3. Write a program that asks for an integer and then prints all the integers from (and including) that value up to (and including) a value larger by 10. (That is, if the input is 5, the output runs from 5 to 15.) Be sure to separate each output by a space. Save your completed file as Q1_3.cpp. [6 Marks) For your run, use the following data: -20. Take a screenshot of your output window AND a screenshot of your C code. Save the two screenshots in a Word file called Quiz1_.docx. /*** Quiz #1, Question #3, ETEC128 Last name: First name: Sec: The name, ID and section number that appear at the beginning of the output of the program should be your own, not the ones used in the sample. -- Sample run: --- Last name: Smith First name: Peter ID: 300999999 Section: 002 ************ Enter an integer: 5 5 6 7 8 9 10 11 12 13 14 15 Press any key to continue... Submit your Q1_1.cpp, Q1_2.cpp, Q1_3.cpp and Quiz1_.docx files via the "Quiz 1" dropbox on eCentennial

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!