Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Jim has just opened a computer store in town and sells a small range of computers. They are…
- Home Basic $900
- Office $1200
- Gamer $1500
- Studio $2200
- Basic specifications are
- Home Basic 4GB RAM Built in Graphics 20” Monitor
- Office 8GB RAM Built in Graphics 23” Monitor
- Gamer 16GB RAM 4GB Nvidia Graphics 27” Monitor
- Studio 16GB RAM 4GB Quadro Graphics Dual 23” Monitors
- The prices and specifications MUST be stored in separate lists, but the details output together
- You program needs to ask for the following
- Their name
- Their age
- How much the computer they want costs (no need to state the model)
- How much money they have
- A nice banner needs to print off at the start and end of the transaction
- If the person has enough money to make the purchase they should be told that they have enough money and to come in store
- If the person does not have enough money, but they are 18 or older it should offer them finance and say to come in store
- If the person does not have enough money, and they are under 18 it should tell them to keep saving then come in store
- The customer’s name needs to be printed off with all transactions
- You do NOT need to do any calculation based on the price of the computer from the list. Only from the input statements
- Requirement 1
- Your program must work without errors
- Requirement 2
- The program must be laid out in a sensible manner
- Requirement 3
- There must be comments in the code the document what it does
- Requirement 4
- There must be written evidence that you have tested the program works with a basic range of ages and cash amounts
- Requirement 5
- Data must be stored in at least 2 types of data - such as text and number
- Requirement 6
- There must be sequence, selection and iteration in your program
- Requirement 7
- You must create and use two lists
- Requirement 8
- You need to use a procedure
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement