You will get email Reply within few hours

Tuesday, 28 May 2013

C++ Number guess,IPO,Flow Chart and Deskcheck



Instruction: DESIGN a program for the following problem. The program needs to contain at least three functions in addition to the main function. Treat EACH function designed as a 'mini' program; i.e. you need to complete (1) an IPO chart/table/list, (2) a flowchart or pseudo code, and (3) a desk-checking table for EACH of your functions.  Don't forget to attach ALL your files before you press the Submit button. 

Problem: Complete** a program that utilizes random number generators(1 points) to play number guessing games with the user. The user has two game choices - Pick 1 (1 points) and Pick 3 (2 points). The table below details the rules for each game. The program should allow the user to continue playing unless the user has won $100 or more already, or the user wishes to end the program (2 points). The program should produce a report indicating the total wining prizes as well as sub total prizes from each game (i.e. one for Pick 1 and one for Pick 3) (2 points). Use at least three different functions besides the main function to complete this assignment (2 points). 
** Be prepared to answer at least one design question after submitting your program for receiving credits of this assignment. 
Game 
How to Play 
Number Range 
Winning Rule
(Only the highest prize can be claimed)
 
Pick 1 
user enters one number within the allowed range  
0 through 25 
$2 - number matched 
Pick 3 
user enters 2 regular numbers and one special number (numbers can be the same or different) 
regular number - 1 through 10
special number - 1 through 25 except 7 and 13 
$5 - only the special number matched
$10 - two regular numbers matched
$50 - one regular number AND the special number matched
$100 - all numbers matched 
NOTE: Don't forget the code requirement for this class. 
Tips:Don't forget top-down design and stepwise-refinement techniques. Develop the program one game (module) at a time. Build each module by steps. For example, complete the code to get a random generated number first, then gradually build the module to get user input, compare the random generated number(s) with user number(s) and finally accumulate the wins.


Need Solution https://gum.co/KxGh