Question: The question is: Write a program that can be used as a math tutor for a young student. The program should display two random numbers
CIS 2541: C++ Language Programming Lab Assignment Name: Lab Assignment Due Date (end of class) Points #3- Making Decisions 02/07/2018 Math Tutor Problem 1pts. 2 pts. random numbers4pts. 12pts. 3 pts. 5 pts. 3 pts. 20 pts header variables input calculations display Sample Output Total LabAssignmentnActivities Create a C++ program to solve the Chapter 4 Programming Challenge 11 (Math Tutor) on page 224 of your textbook. a) Include the following additional design requirements in your code: Add a block comment at the top of the file to identify your name, file, date, class, assignment, and short description of the program. The program should display two random integer numbers (in the range of 500 to 1500, inclusive) that are to be added, in the aligned format given below 547 + 1249 Use output manipulators, not tabs or spaces, to align your output. The program should prompt and wait for the student to enter the answer. If the incorrect, print an error message showing the correct answer. answer is correct, print a message of congratulations. If the answer is b) Compile the source code until there are no syntax errors. Run the program with a sample set of data and compare your expected results with the actual output. Debug as needed to ensure accurate output c) Run the application with a correct and incorrect response. d) Copy and paste the generated output of a correct and incorrect response as a multi-line comment at the end of your code file. e) Upload a copy of your source code file as a multi-line comment to the appropriate Blackboard assignment. The upload link will disappear after the due date/time and reappear at the next class period for late submission. College of DuPage CREngland
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
