Details of this Paper

Write a menu-driven C++ program for food purchases

Description

solution


Question

Write a menu-driven C++ program for food purchases at the baseball stadium?s restaurant. The main program will loop allowing the user to select food items from the menu adding each item to the bill, terminating when the user selects the ?End order? item. The program will then calculate and display the total bill with tax (.065) and tip (.20), tip is calculated on the pretax bill. The program also needs to collect payment and calculate change due.;list;hamburger=1;hotdog=2;peanuts=3;popcorn=4;soda=5;chips=6;water=7;end_order=8;price;hamburger_price=6.00;hotdog_price=4.50;peanuts_price=3.75;popcorn_price=5.50;soda_price=2.00;chips_price=1.00;water_price=2.00

 

Paper#64317 | Written in 18-Jul-2015

Price : $29
SiteLock