| UMBC CMSC104 | CSEE |
4 May
Extra Credit Project is worth 100 points and due at 11:59 pm, May 15:
How Many TVs Were Sold? 3
How Many VCRs Were Sold? 5
How Many Remote Controllers Were Sold? 1
How Many CDs Were Sold? 2
How Many Tape Recorders Were Sold? 4
The format for the output from the program follows:
QTY DESCRIPTION UNIT PRICE TOTAL PRICE
--- ----------- ---------- -----------
XX TV 400.00 XXXX.XX
XX VCR 220.00 XXXX.XX
XX REMOTE CTRLR 35.00 XXXX.XX
XX CD PLAYER 300.00 XXXX.XX
XX TAPE RECORDER 150.00 XXXX.XX
__________
SUBTOTAL XXXX.XX
TAX XXX.XX
TOTAL XXXXX.XX
Set 1: 2 1 4 1 2
Set 2: 3 0 2 0 21
/*****************************************************/ /* Program Header Block */ /* Filename: 6789prj2.c */ /* Name: Ima Student */ /* SSAN: 6789 */ /* Date: 6 April 2004 */ /* Course/section: CMSC-104/0101 */ /* Description: */ /* Analysis: */ /* Input: */ /* Output: */ /* Constraints: */ /* Formulas: */ /* Assumptions: */ /* Design: */ /* (Your psuedocode goes here.) */ /* */ /* Notes: (As needed.) */ /*****************************************************/
/*********************************************************** * Function name: function_name * * Description: (Your function psuedocode goes here) * * Input Parameters: Name and data type of each parameter. * * Return Value: Data type and description of what * * the return value is. * ***********************************************************/