Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

PROBLEM: Multiplication Tables Practice. (C++ program)

Write the Multiplication Tables Practice Program. You will write a program that will allow a user to choose which Multiplication Tables (1- 12) they would like to practice and then display the following menu:

1. Review My Table

2. Test Me

3. Enter a new multiplication table (1-12)

4. Quit

Enter a Menu Item >

You will be using a 10 row by 3 column, 2D array to store your multiplication tables. You will be displaying the multiplication table of a number chosen by the user multiplied by the numbers 1 to 10.

If option 1 is chosen you will display the times table of the user's choice by loading a 2D array with the users chosen times table. If option 2 is chosen you will Test the user by creating a times table in a 2D array which will allow you to store values being multiplied and blank answers, i.e.

Use only whole numbers for this game.

If the user chooses to take the "test", then allow the user to take the test then grade the test when he/she has completed the test. If the user passes the test, 70% or better, print out their score, print out a message saying that they passed the test. If the user gets 100%, print out a message saying that they got a perfect score. If the user did not pass the test, 70% or less, print out their score, tell the user that they did not pass the exam.

The questions for the "Test" MUST be randomly generated until all the questions for the multiplication table are answered and then the function testMe will return the Boolean value True to indicate that the test has been completed.

If menu item 3 is chosen, then the user should be asked to enter a number from 1 to 12 which will represent which multiplication table they wish to practice. You must also re-create both the test table and the practice table by calling your createTables function.

Your program MUST use input validation.

Input Validation: The program must check to see if the user enters a valid number for both the menu items and when taking the exam. A number greater than zero must be entered when taking the exam. If the user does not enter a valid value, display an error message and continue to ask the user to enter the value again until a valid value is entered.

SAMPLE OUTPUT:

What is 7 x 2 = 14

What is 4 x 2 = 8

I'm sorry you did not pass the exam...Your score was 60.00%

What is 1 x 2 = 2

You did a good job! You have a passing score of 90.00%

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M93092439

Have any Question?


Related Questions in Computer Engineering

Taskthe first task is to create your business narrative

Task The first task is to create your business narrative. Some of the questions that you should address include (but are not limited to) the following. •What is the name of your business? •Who will be the users of the sy ...

Assignmentnbspon information systems audit and

Assignment  on Information Systems audit and controls Assignment purpose: Elaborate on the different types of control that are applied in a hospital (Preventive, detective and corrective control). Evaluate the logical an ...

Babies weighing less than 55 pounds at birth are considered

Babies weighing less than 5.5 pounds at birth are considered "low-birth-weight babies." In the United States, 7.6% of newborns are low-birth-weight babies. The following information was accumulated from samples of new bi ...

In a software design meeting in your company your manager

In a software design meeting in your company, your manager says that one of the most important engines of the Record Keeping System you are developing is the Index Sorting Engine. Your coworker quickly jumps in and says ...

Question suppose you are considering an improvement to a

Question : Suppose you are considering an improvement to a computer program. The improvement is applicable only to a fraction 35% of the program and the speedup of the improved fraction is 15. What is the overall speedup ...

Risky business how can us companies protect their digital

Risky Business: How Can U.S. Companies Protect their Digital Assets Overseas? Prepare a 3 to 5 paragraph briefing statement that can be used to answer the above question. Your audience will be attendees at a conference f ...

What is a domain name in the context of internet what is

What is a domain name in the context of Internet? What is the procedure to get a domain name and link it to an Internet Protocol (IP) address? Use an example.

Assignmenta in the slides and textbook one of the examples

Assignment (a) In the slides and textbook, one of the examples features a class for counting up. An interface which defines this functionality is given below: public interface IncrementCounter { //Increments the counter ...

Question research parallel computing and prepare an

Question : Research parallel computing and prepare an informal paper 2 -3 pages in length, single spaced with a blank line beltween paragraphs. The response must be typed, single spaced, must be in times new roman font ( ...

Below is a simple data gird with a header

Below is a simple data gird with a header row. kim|taylor|clara|654 763 1345|75|2016-01-17|null|N|90.76|A jack|jenkins|joseph|630 654 0265|92|2016-11-30|null|Y|131.00|B Identify what rules would you apply for ensuring th ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As