In C++, develop a menu program which reads in data from 4 different input files -...

70.2K

Verified Solution

Question

Programming

In C++, develop a menu program which reads in data from 4different input files - appetizers, entrees, desserts, and drinks.Then, record the item information ordered by the customer for eachitem selected. When finished, display all items ordered to thescreen with the subtotal, tax (10% for easy math), and the total.Be sure to get tip as well. Then, ensure enough payment wasreceived before generating an output file receipt which can beprinted off. Use functions to prevent redudant code.

  • You are free to use arrays or vectors to store program data.Your choice!
  • The input files can have different numbers of items available.Example: You have may have 5 appetizers, 10 entrees, 8 drinks and 4desserts. The numbers are up to you. But, the program should beable to handle input files with \"unknown numbers\" of items forsale.
  • Make the interface and output look nice! Software is somethingthat you want to sell to others. If it looks bad, no one will buyit. Think about the last app you downloaded that didn't look goodwhen you used it. Do you still have it on your phone? Probablynot.
  • Your program must not have redundant code! Use functions and/orgeneric functions where possible to remove all redundant code inyour program.

Answer & Explanation Solved by verified expert
3.8 Ratings (608 Votes)
program developed with user friendly    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students