This next one is a douse...so I'm going to give you 2 weeks to complete it!
Remember to check out the ELET 4300 website for the full assignment, but here's a preview.
| Choose one of the following options: i (Input Computer info) d (Display Computer info) s (Start a computer) u (Shut down a computer) q (Quit program) D // user input using a keyboard Enter a computer number to be displayed: 1 ********************************* No computer has been created. ********************************* Choose one of the following options: i (Input Computer info) d (Display Computer info) s (Start a computer) u (Shut down a computer) q (Quit program) i // user input using a keyboard Choose one of the computer types listed below: 1. desktop computer 2. notebook computer 1 // user chooses to build a desktop Enter manufacturer: Dell Enter model: Inspiron Enter CPU type: Intel Core 2 Extreme Enter CPU speed (GHZ): 3.2 Enter CPU cache (MB): 4 Enter FSB (MHZ): 1066 Enter hard drive capacity (GB): 250 Enter color: Black Enter raid level: 1 Enter price ($): 2050 Dell Inspiron was built successfully! // message at the end of each computer creating Choose one of the following options: i (Input Computer info) d (Display Computer info) s (Start a computer) u (Shut down a computer) q (Quit program)
// continue building desktop or notebook computers
.. Enter a computer number to be displayed: 0 // print out info of 1st computer on the list ********************************* Desktop Computer Manufacturer: Dell Model: Inspiron CPU: Type: Intel Core 2 Extreme Speed: 3.2 GHZ Cache: 4MB FSB: 1066MHZ Hard Drive: 250 GB Color: Black Raid Level: 1 Price: $2050.00 ********************************* Enter a computer number to be displayed: 2 // print out info of 3rd computer on the list ********************************* Notebook Computer Manufacturer: HP Model: dv-6000t CPU: Type: AMD Athlon 64 Speed: 3.2 GHZ Cache: 4MB FSB: 1066MHZ Hard Drive: 250 GB Screen Size: 17 inches Color: Silver Price: $2499.00 ********************************* S // start up a desktop or notebook computer Enter a computer number you wish to start: 0 ********************************* HP dv-6000t has been started. . . . |
Happy Coding!
0 comments:
Post a Comment