Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hide Assignment Information Instructions Upload your algorithm and source code. COP 1000C Course Project Math Tutor Program Project Description: You will be creating a math

Hide Assignment Information

Instructions

Upload your algorithm and source code.

COP 1000C Course Project

Math Tutor Program

Project Description:

You will be creating a math tutor program that can be used for young children to practice their math skills.The program will be driven by the following menu:

  1. See Rules
  2. Practice Math
  3. Exit

If the user chooses (1) from the menu, the following rules will be displayed:

This program will help you practice your math skills.First, you will choose Addition, Subtraction or Multiplication.Next, you will choose a level.Level 1 will give you problems with single digits and Level 2 will use two-digit numbers. Then, you will choose how many math problems you would like to complete.After you have completed all your problems, you will be given a score. You can play as many times as you want.Have fun!!

If the user chooses (2) from the menu:

  • First, prompt from the following math operation menu
  1. Addition
  2. Subtraction
  3. Multiplication
  • Next, prompt from the following level menu
  1. Level One
  2. Level Two
  • Next, prompt for the number of math problems to complete
  • Next, use a loop to do the following for each problem:
  • Level One - generate two random numbers from 1 - 9
  • Level Two - generate two random numbers from 1 - 99
  • Show the math problem that corresponds with the operation that the user chose and prompt the user for the correct answer.

Note: If the user chose Subtraction, make sure that the larger number comes first.

  • Calculate the correct answer
  • Compare the user's answer with the correct answer and display whether or not the user answered correctly.Keep track of how many the user answers correctly
  • After all problems are complete, display the number correct and the percent correct.

If the user chooses (3) from the menu, display a good bye message.

The users can play the game as many times as they wish, until they choose (3) to Exit.

Input Validation:

  • Validate that all menu choices are valid.
  • Validate that the number of problems the user enters is positive.

Functions:

  • Include at least three functions of your choice (in addition to main) .

Grading Rubric

Algorithm/Pseudocode - 30 points

Variables Declared - 5 points

Comments/Documentation - 10 points

Main Menu Loop - 20 points

Selection Statements - 25 points

  • Main menu
  • Math operations
  • Levels
  • Correct/incorrect

Input Validation - 20 points

Random Number Generation - 10 points

Three Functions - 15 points

Overall accuracy - 15 points

  • Calculations correct
  • Counters reset
  • Program works properly

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

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions