Sunday 19 February 2012

Blog Task 1.5

1. Using the five step process, develop an algorithm for the following problem:

You want to estimate the number of hours it will take you to complete all of the levels in a new video game based on your past performance with other games.

Inputs 
How many hours our in the new games
total play time. 

How many hours has it taken you
in prevues games.

Processing    
Multiply the amount of the games play time and 
the hours of game time you have played in past games.

Outputs
Total hours it will take you. 

 1. Prompt user for hours of new game play time. 

2. Get hours of new game play time.  

3.  Prompt user for hours of past games play time. 

4.Get hours of past games play time.

5. Total Time = New game play time x hours of past game play time

6. Total number of hours 

No comments:

Post a Comment