Local resturant automate its breakfast billing system

Assignment Help C/C++ Programming
Reference no: EM13165374

Write a program to help a local resturant automate its breakfast billing system . Write a program to help a local resturant automate its breakfast billing system. the program should do the following : the program should do the following:
a. a. Show the customer the different breakfast items offered by the resturant. Show the customer the different breakfast items offered by the resturant.
b. b. Allow the costimer to select more than one item from the menu . Allow the costimer to select more than one item from the menu.
c. c. Calculate and print the bill . Calculate and print the bill.
Assume that the resturant offers the following breakfast items ( the price of each item is shown to the right of the item): Assume that the resturant offers the following breakfast items (the price of each item is shown to the right of the item):
Plain Egg 1.45
Bacon and Egg 2.45 Bacon and Egg 2.45
muffin 0.99 muffin 0.99
French Toast 1.99 French Toast 1.99
Fruit basket 2.49 Fruit basket 2.49
Cereal 0.69 Cereal 0.69
Coffee 0.50 Coffee 0.50
Tea 0.75 Tea 0.75

use an array , menuList, of the struct menuItemType. use an array, menuList, of the struct menuItemType.
your program must contain at least the following functipons : your program must contain at least the following functipons:
* function getData: this function loads the data into the array menuList. * Function getData: this function loads the data into the array menuList.
* function showMenu : this function shows the different items offered by the restaurant and tells the user how to sellect the items. * Function showMenu: this function shows the different items offered by the restaurant and tells the user how to sellect the items.
* function printCheck : this function calculates and prints the check. * Function printCheck: this function calculates and prints the check.
(note that the billing amount should include the 5% tax) (Note that the billing amount should include the 5% tax)

format your output with two decimle places. format your output with two decimle places. the name of each item in the output must be left-justified. the name of each item in the output must be left-justified. Customer should be able to select multiple items of a particular type.

Sample Output in this Case is:

Welcome to Johnny's Resturant

1 Bacon and Egg 2.45

2 muffin 1.98

1 coffee .50

   tax .25

Amount Due 5.18

Reference no: EM13165374

Questions Cloud

Differences between sub-energy levels and orbitals : What are the differences between sub-energy levels and orbitals? (My professor said they were different.)
What is the pb2+ concentration : After allowing the solution to sit for 30 minutes the student determines that the bromide concentration was [Br-]= 0.0012 M. What is the Pb2+ concentration?
Calculate the annual rate of return : Prepare an incremental analysis for the 4 years showing whether Shellhammer should keep the existing machine or buy the new machine and calculate the annual rate of return for the new machine
Which of the following will react with benedict reagent : Which of the following will react with Benedict's reagent?
Local resturant automate its breakfast billing system : Use an array , menuList, of the struct menuItemType. use an array, menuList, of the struct menuItemType. your program must contain at least the following functipons : your program must contain at least the following functipons.
Describe the nature and characteristics of pcb : Describe the nature and characteristics of PCB s. Why are they of importance to an EH&S or FS professional who encounters them when.
Sustainability in key professions : Discuss the way in which BHP Billiton has demonstrated its social and environmental accountability and consider the above and discuss the stance and initiatives of the Australian accounting profession on corporate social responsibility
What is the ph of the resulting mixture : In a titration, 10.0 mL of 0.025 M hydrochloric acid is added to 30.0 mL of 0.030 M ammonia. What is the pH of the resulting mixture?
By what test could you identify the non-aqueous layer : If toluene(density 0.87) were used to extract ethylene bromohydrin (density 2.41) from an aqueous solution.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write program to input series of hourly temperatures

Create and write a c++ program which inputs series of 24 hourly temperatures from file, and outputs bar chart (using stars) of temperatures for the day.

  Write c function to sort one dimensional integer array

Consider the values sorted in the array. Sort it in ascending order using Bubble sort technique showing all iterations: write C function to sort one dimensional integer array in ascending order.

  Write short c program to develops two processes

Write down a short C program which develops two processes. Each process must repeatedly write its own unique message to test file, one character at time. Do you see garbled messages in the file? Explain why or why not?

  Properly store the number from variable value

1. Statement will properly store the number from variable  value  into the output file object AnsFile?

  Write c program which compute acceleration of jet fighter

Write a C++ program which compute the acceleration (m/s 2) of jet fighter launched from aircraft-carrier based catapult, provided jet's takeoff speed in km/hr

  The counter each time it''s clicked

Write a simple script that contains a button and a counter in a div. The button's event handler should increment the counter each time it's clicked.

  Write program which prompts user to enter numbers

Write down the program which prompts the user to enter numbers, findsout how many positive and negative values have been entered, and calculates sum and average of numbers entered.

  20 integers saved in a file called "data.txt"

There are 20 integers saved in a file called "data.txt" (just a random txt file with some numbers) All integers are in the range from 1 to 10

  Complete the payroll program with following driver object

complete the payroll program with the following driver objects.

  Write a function named largest which will receive the array

Write a function named largest which will receive the array as input and return the variable LargestNumber.

  50 element array of integers with random numbers

write a java code to instantiate and initialize a 50 element array of integers with random numbers in the range of 45 through 256 inclusive.

  Computer programming techniques

Construct a program from a design and use appropriate functions

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd