Design and construct a basic math program, Programming Languages

Assignment Help:

For this assignment you will need to design and construct a basic math program which targets elementary school children. Your program must adhere to the following steps and requirements:

1. A user interface with options similar to the following:

a. Learn about how to use the program

b. Enter your initials (3 individual characters...)

c. Difficulty selection

d. Start a new sequence of problems

e. Save and Quit

2. Generate mathematical problems based on the difficulty level selected. You must implement the following five levels of difficulty:

a. Level 1 - Easy: Includes addition and subtraction problems, with positive single digit operands and up to three terms only (i.e. d1 + d2 - d3 = )

b. Level 2 - Fair: Includes multiplication problems, with positive single digit operands and up to two terms only (i.e. d1 x d2 = )

c. Level 3 - Intermediate: Includes division problems, with positive single digit operands and up to two terms only (i.e. d1 / d2 = ); Note: results should be shown in the formNum R Remainder, i.e. if the problem is 5 / 3, then the answer should be provided as 1 R 2.

d. Level 4 - Hard: Includes a mix of addition, subtraction, multiplication, and division problems, with positive and negative single digit operands and up to three terms only (i.e. d1 + -d2 / d3 = ); Hint: you may have to first find a common denominator.

e. Level 5 - Impossible: Includes a mix of addition, subtraction, multiplication, and division problems, with positive and negative two and three digit operands
and up to four terms only (i.e. dd1 + -ddd2 x ddd3 / dd4 = ); Hint: you may have to first find a common denominator.

3. Allow the user to enter an answer corresponding to a generated math problem

4. Evaluate the answer provided by the user. The user gets a certain number of points for correct answers and loses points for incorrect answers. The number of points
should directly relate to the difficulty of the problem.

5. Each level must generate a sequence of ten problems

6. Within each level, problems should become a little more difficult as the user enters correct answers

7. Once the user quits the program, output the user's initials and total score to a file

Your program must implement error checking where appropriate. It also must use strings, pointers, and output parameters where appropriate.


Related Discussions:- Design and construct a basic math program

What is url describe their protocol, What is URL describe theri protocol? ...

What is URL describe theri protocol? URL basicallt stands for uniform resource locator. A URL is a pointer to a particular resource on the Internet at a particular location.

Opening and closing the document object on web page, Although the Document ...

Although the Document object's write()and writeln() methods are part of the DOM, they cannot be used to change content after a Web page has been rendered. You can write code that e

Java source code classes and objects, Design and implement a stringed music...

Design and implement a stringed musical instrument class using the following guidelines: a. Data fields for your instrument should include number of strings, an array of stri

#title Problem Statement, Please choose the best tutor to rewrite my assign...

Please choose the best tutor to rewrite my assignment Ticket ID # EM201713THA711DSTN.because insructor does not accept. Thank you

Mathematical expression of linear programming problem, A Consultant Dietici...

A Consultant Dietician provides diet and nutritional advice to clients. A client's diet requires that all the food s/he eats come from one of the four "basic food groups" (chocolat

Controlling stepper motor through rtlinux, In this project, we have measure...

In this project, we have measured and compared the performance given by RTLinux, which is real time system with non-real time Linux operating system. Also, we have measured the

Example of arithmetic involving matrices, Example- Arithmetic :  Given th...

Example- Arithmetic :  Given the subsequent two matrices, So calculate A-5B. Solution There isn't much to do now other than the work. We first multiplied

Python: returning one dimensional list from strings , How to build one dime...

How to build one dimensional list from string and build string from a list? Suppose input string is: STACKOVERFLOW then the output list should be outputList = [S,T,A,C,K,O,V,E,R,F

Selection structure, Name : Jaya Malathy IC No : 99011460923 Quiz 1 : 20....

Name : Jaya Malathy IC No : 99011460923 Quiz 1 : 20.5 Quiz 2 : 22.5 Quiz 3 40.5 Total marks = 83.5 Name IC No Quiz1 Quiz2 Quiz3 Grade --- ---- ---- ---- ---- ---- Jaya 990

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd