Write a program that can be used to determine the tip amount that should be added to a restaurant

Page 1

Write a program that can be used to determine the tip amount that should be added to a restaurant charge. Allow the user to input the restaurant charge, before taxes To Purchase This Material Click below Link http://www.tutorialoutlet.com/all-miscellaneous/write-a-program-that-can-beused-to-determine-the-tip-amount-that-should-be-added-to-a-restaurant-charge-allowthe-user-to-input-the-restaurant-charge-before-taxes FOR MORE CLASSES VISIT tutorialoutlet

Programming Exercises #7 Write a program that can be used to determine the tip amount that should be added to a restaurant charge. Allow the user to input the restaurant charge, before taxes. Produce output showing the calculated values including the total amount due for both 15% and the 20% tips. Tax of 9% should be added to the bill before the tip is determined. Display subtotal showing the amount owed prior to applying a tip. Show each tip amount and the totals with each tip amount. Be sure to provide labels for values and align them. 3.Output screen: 4.Grading criteria (Total: 50 points) 1.Allow the user to enter a restaurant charge. (10 points) 2. Compute the tax. (10 points) 3. Compute the tip at 15% rate and at 20% rate. (10 points) 4. Compute the total. (10 points) 5. Display the results. (10 points)


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.