Project 3

Floats, Interger, and Constants,setw, setpercision (75 points)

Sample output1

       Menu
====================================
Hotdogs  . . . $1.50
Cokes    . . . $ .75
Popcorns . . . $1.25
====================================
Enter number of hotdog(s) : 2
Enter number of coke(s): 2
Enter number of popcorn(s): 2


Hotdog, Coke, and Popcorn Sales Report
======================================
Item         Quatity    Cost
======================================
Hotdogs         2       $3.00
Cokes           2       $1.50
Popcorn         2       $2.50
======================================
                 Total  $7.00


Sample output2
 
       Menu
====================================
Hotdogs  . . . $1.50
Cokes    . . . $ .75
Popcorns . . . $1.25
====================================
Enter number of hotdog(s) : 1
Enter number of coke(s): 3
Enter number of popcorn(s): 2


Hotdog, Coke, and Popcorn Sales Report
======================================
Item         Quatity    Cost
======================================
Hotdogs         1       $1.50
Cokes           3       $2.25
Popcorn         2       $2.50
======================================
                 Total  $6.25