Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Calculating the tip when you go to a restaurant is not difficult, but your restaurant wants to suggest a tip according to the service diners

image text in transcribed

Calculating the tip when you go to a restaurant is not difficult, but your restaurant wants to suggest a tip according to the service diners receive. Write a program that calculates a tip according to the diner's satisfaction as follows. (10 marks) Ask for the diner's satisfaction level using these ratings: 1 = Dissatisfied Totally satisfied, 2 = Satisfied, 3 = If the diner is totally satisfied, calculate a 20 percent tip. If the diner is satisfied, calculate a 15 percent tip. If the diner is dissatisfied, calculate a 10 percent tip. Report the satisfaction level and tip in dollars and cents

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Explain the importance of Human Resource Management

Answered: 1 week ago

Question

Discuss the scope of Human Resource Management

Answered: 1 week ago

Question

Discuss the different types of leadership

Answered: 1 week ago

Question

Write a note on Organisation manuals

Answered: 1 week ago

Question

Define Scientific Management

Answered: 1 week ago

Question

Persuading Your Audience Strategies for

Answered: 1 week ago