Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Plz follow all the requirements thank you C++ 1. LAB04. Create a lab report for the following programming challenge. MATH TUTOR. A training section for

Plz follow all the requirements thank you

image text in transcribed
C++ 1. LAB04. Create a lab report for the following programming challenge. MATH TUTOR. A training section for a user must consist of practicing with all options of the main menu. Write a program that can be used as a math training application for a young student. The program should consist of a main menu from which the student has the following options: Welcome to math trainer, Select your options ADD. SUBSTRACTION. MULTIPLICATION MODULUS. EXIT. Upon a selection the program will display two random numbers, aligned vertically and right justify. Like: 247 - 129 The program, pause, until the user enters the answer. The program must display a message of congratulation if the answer is correct or a message with the correct answer if the user enters the wrong answer. Following any of the above messages the program should ask the user if he/she want to continue with more addition operations. If the user answer yes, then a new set of random numbers appears, and the program waits for an answer. Otherwise, the program returns to the main menu. While in this module: keep track of the number of addition operations requested by the user, the number of correct answers and the number of wrong answers. Do the same for Subtraction, Multiplication and Modulus operations. Once the user returns to the main menu and decides to exit the program the program should display a total statistics report of the training section like the following one: TOTAL QUESTIONS RIGHT WRONG ADD SUBSTRACTION MULTIPLICATION MODULUS TOTALS 26 Final Report. Run your program for at least 5 users and report the "Final Report" of each one. i.e., S final reports tables should be reported. One for each user or one for each full run of a training section involving all operations. Additional Requirements: For additions random numbers should be from 0-1000 inclusive. Void subtraction where the answer is negative. Do not display cases like 10 - 15. For multiplication one of the factors should be one digit and the other up to two digits. For modulus operations numbers should not be greater than 500. Run your program in a way that you prove and document that each requirement is met for each operation. Use sections of your source code, only, if you want to show or proof something. Make sure you demonstrate that navigation through the program is met. Use functions to modularize. Avoid, as much as possible, mixing different tasks in one function. Use any type of arrays or vectors for final statistics. You can use as many arrays as you need. Remember how to pass arrays to a function and keep in mind the meaning of passing by reference and by value. Lab report consist of: A pdf document where you proof that your program is working as intended. To do this take pictures of your inputs and outputs from your program when it is running. Examples of a lab reports are posted under the lessons folder for your reference. A txt file with your C++ code. Make sure your pictures are clear and legible. Take pictures of small sections of your screen. Do not take pictures of the whole screen it makes it harder to read

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions