Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1) The pseudocode will be written in a Document file (Word, WordPad, etc.). Write a pseudocode for the following problem before you write your

image text in transcribed

Part 1) The pseudocode will be written in a Document file (Word, WordPad, etc.). Write a pseudocode for the following problem before you write your Raptor code. Part 2) Use Raptor for the following problem helping a local restaurant in their check processing. We like to process a set of restaurant checks/bills. Ask for the number of checks. Make sure the user inputs a positive number more than 0 for the number of checks. You need to continue asking for a valid number of checks until valid data is entered. For each check, in the following order, ask for the name of the server, the amount of check, the number of patrons for the check and the day of the week (Monday, etc.). If the number of patrons is 8 or less, tip is 15% of the check. If the number of patrons is more than 8, tip is 18% of the check. If the day of the week is tuesday, apply a 10% discount to the grand total amount of the check. You can assume that the day of the week is always entered in lower case. Assume the tax rate is 8.5%. Note that the tip and the tax are calculated based on the original bill amount. a) b) c) d) Calculate and display the grand total of all checks. e) Calculate and display the grand total of all discount amounts

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

define the term outplacement

Answered: 1 week ago

Question

Explain the factors affecting dividend policy in detail.

Answered: 1 week ago

Question

Explain walter's model of dividend policy.

Answered: 1 week ago

Question

1. Who should participate and how will participants be recruited?

Answered: 1 week ago