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

Prelude to Programming, How does a Case Structure differ from a Case struct...

How does a Case Structure differ from a Case structure program in pseudocode

Mvc architecture, MVC Architecture Model/view/controller (MVC) is a program...

MVC Architecture Model/view/controller (MVC) is a program structure, currently regarded an executive design used in program technological innovation. The design isolates "domain lo

Asp.net, How to lunch webcame via viusal studio 2012

How to lunch webcame via viusal studio 2012

Transform to xhtml, While working in the eHealth Applied Research lab at Mo...

While working in the eHealth Applied Research lab at Mohawk College, you are asked to transform an xml file into an XHTML representationusing XSLT for display in a browser.The xml

Write a program to handle a book collection, Write a program to handle a bo...

Write a program to handle a book collection. The data on each book might be title, author, publication date, book number and  cataloging details. Allow for adding or deleting books

Programming and modelling in uml, Introduction Currently, Omega has 178...

Introduction Currently, Omega has 178 stores UK wide. Most cities and large towns within the UK are catered for by Omega. Omega began in 1960's selling various makes of telep

Oracle , PLEASE HELP ME ORACLE PROGRAMING TRIGGER

PLEASE HELP ME ORACLE PROGRAMING TRIGGER

Object-oriented programming paradigm, Object-oriented programming paradigm ...

Object-oriented programming paradigm Object  Oriented  Programming  is  an  aproach  in  which  a  program  is  viewed  as  a  dynamic  network  of collaborating objects, where

Data normalization and schema refinement, What is Data Normalization and Sc...

What is Data Normalization and Schema Refinement? Define briefly..

C programming, write a function that raises an integer to a positive intege...

write a function that raises an integer to a positive integer power. call the function x_to_the_n taking two integer arguments x and n. have the function return a long int, which r

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