subject

Problem 1 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: ā€¢Ask for bill amount ā€¢Ask for the dinersā€™ satisfaction level using these ratings: 1 = Totally satisfied, 2 = Satisfied, 3 = Dissatisfied. ā€¢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 Format tips to 2 decimal points; if the bill is 105$ and satisfaction level is 3, then the tip will be $10.50

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:30
You have been supporting csm tech publishing's windows server 2016 server network for over a year. the office has two windows server 2016 servers running active directory and a number of other roles. management has informed you that a small sales office is opening in the same building three floors up. the sales manager wants to install a sales application on a server located in the sales office. this server will have limited physical security because there's no special room dedicated for it, which means it will be accessible to non-it personnel and visitors. you're considering installing windows server 2016 server core on the new server because accessing its console regularly probably won't be necessary, and this server will be managed from one of the other csm tech publishing servers. what are the benefits and drawbacks of using server core for this branch office? what are some things you should do to set up this server management environment?
Answers: 1
question
Computers and Technology, 23.06.2019 19:00
Whose task it is to ensure that the product flows logically from one step to another?
Answers: 3
question
Computers and Technology, 23.06.2019 19:30
Anul 2017 tocmai s-a Ć®ncheiat, suntem trişti deoarece era număr prim, Ć®nsă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecÅ£ionar de numere prime, şi-a pus Ć®ntrebarea: ā€œcĆ¢te numere dintr-un interval [a,b] se pot scrie ca produs de două numere prime? ā€œ.
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Which of the following is not a ā€œfatal fourā€ event?
Answers: 2
You know the right answer?
Problem 1 Calculating the tip when you go to a restaurant is not difficult, but your restaurant want...
Questions
question
History, 16.03.2020 22:13
Questions on the website: 13722367