Write program to compute total payment

Assignment Help Programming Languages
Reference no: EM1362853

1) Write a program that computes the total payment, tip, and tax for the "ABC" restaurant. This program must have three functions as below:

1. Menu (Show the menu for each customer). Menu include 6 options:
a. Rib lets ($10.99)
b. Margarita Chicken ($10.49)
c. Double Crunch Shrimp ($10.99)
d. Stake ($12.57)
e. (Kids) Mini Cheeseburger ($7.67)
f. Dessert ($1.99)
2. Compute_tip : 12% of customer's total price.
3. Compute_tax: 8% as tax

Your program must run for more than one customer customers.

Reference no: EM1362853

Questions Cloud

Consuming right amount of nutrients : List and explain, five specific ways consuming the right amount of nutrients can positively improve your long-term over all health and aging.
Explain and generate point redemption level one diagram : Explain and Generate Point Redemption Level 1 Diagram and Generate Customer Reports Level 1 Diagram
Arithmetic average versus geometric average : Discuss and explain the difference between arithmetic average versus geometric average and which one is more effective or provides a more complete picture when valuing a stock's past performance over the last 5 years?
Describe the pitfalls of moving average forecasting : Describe the chosen forecast method in detail and describe the pitfalls of the selected forecast method.
Write program to compute total payment : Write a program that computes the total payment, tip, and tax for the "ABC" restaurant. This program must have three functions as below: Menu (Show the menu for each customer). Menu include 6 options.
Mislead or deceive consumers : Food and drug manufacturers should be allowed to mislead consumers by using uncommon terms and descriptions to mislead or deceive consumers
Transaction analysis-various accounts : Prepare an answer sheet with the following column headings. For each of the following transactions or adjustments, indicate the effect of the transaction or adjustment on assets, liabilities, and net income by entering for each account affected th..
Show research proposal on elderly care : Research Proposal on Elderly Care - Can you provide some guidance on drawing up a Research Proposal. Consider a topic related to elderly care,
Calculate the allowances for loan losses : The balance sheet of Tribank starts with an allowance for loan losses of $1.33 million. During the year, TriBank charges off worthless loans of $0.84 million

Reviews

Write a Review

Programming Languages Questions & Answers

  Ruby program that continuously reads in number

Write down Ruby program that continuously reads in number, x, from screen, and then calculates and displays its: factorial, if x is less than 15.

  Program to simulate rolling one die

Write a program which simulates rolling one die using the following steps: Prompt the user for the number of sides on the die.

  Develop an encryption program

Your employer, SGA (Secretive government Agency) wants you to develop an encryption program. After doing some research you have two candidate algorithms.

  Explaining the situation in program

Which of the following best explains the situation after Line 1 has been executed?

  Compute the product xy

Given two integers X and Y compute the product XY (multiplication), the quotient X=Y (integer division), and the modulus X (mod Y) (remainder).

  Program to enter up to 20 integers in the array of long

Write down a program which asks user in order to enter up to 20 integers in the array of longs.The program must utilize the function Find_It() in order to situate the integer within the array.

  Find largest number in array

Find the largest number in the array and output the result. use a subprogram to input the numbers, a function to use the largest number.

  Write program where dealer-s five-card hand is dealt

Write a program where the dealer's five-card hand is dealt "face down" so the player cannot see it. The program should then evaluate the dealer's hand.

  Designing navigation system for point-and-click system

Design a navigation system or menu allows Access to act like point-and-click system. Write down some of the kinds of navigation.

  Design program to asks for number of fat grams

Design a program that asks for the number of fat grams and calories in a food item. Validate the input as follows: Make sure the number of fat grams and calories are not less than 0.

  Design program to list total points scored for classroom

Student ID, classroom number, and score on the achievement test. Design a program that lists the total points scored for each of the 30 classrooms.

  Create a class for performing arithmetic with fractions

Create a class called Rational for performing arithmetic with fractions. Write a program to test your class. 1/2+2/3+3/4.......+98/99+99/100.Use integer variables to represent the private data of the class

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