Write a program that reads from the user the amount of a restaurant bill as well as tax rate and then applies a random amount of tip between 15% and 20% of the amount of the bill and displays the total amount due (including tax and tip). It then asks the user how many people in the party and divides the total amount by the number of people and displays the amount for each person in the group. It then asks for and reads from the user a separator character, such as comma, space, tab or new line and displays the information using the separator character (see the example below): Enter date: 9/30/2020 Enter restaurant name: Cheesecake Factory Enter Street and city: Lake Ave, Pasadena Enter bill amount: $100 Enter tax rate in %: 9 Total including tax of 9% and gratuity of 18% is $127.00. Enter number of people to divide by: 4 Amount for each of 4 persons: $31.75 Enter a separator character: [TAB] Bill amount: $100.00 Tax: $9.00 Tip: $18.00 Each portion: $31.75 Press any key to continue. Second example: Enter date: 9/29/2020 Enter restaurant name: Raffi′s Place Enter Street and city: Broadway Ave. Glendale Enter bill amount: $200 Enter tax rate in %: 9 Total including tax of 9% and gratuity of 17% is $252.00. Enter number of people to divide by: 1 Amount for each of 4 persons: $252.00 Enter a separator character: , Bill amount: $200.00,Tax: $18,Tip: $34.00,Each portion: $252.00 Press any key to continue. In in the above example, if the user entered a new line instead of comma for the separator: Bill amount: $200.00 Tax: $18 Tip: $34.00 Each portion: $228.00 Press any key to continue. Make sure the program pauses and waits for a key to be pressed before continuing. Put your name on top as a comment. Use comments to explain about half of your statements. After building and testing the program, submit the cpp file.
- Use the internet to investigate Russian and American cooperative involvement with the International Space Station. What have both countries contr
- Name and describe at least two non-traditional healing systems Discuss the interface between religion and mental health Religion, Healing and
- Watch and annotate the videos of one peer as assigned by your instructor on InTASC Standards 1, 2, and 3 of the Clinical Practice Rubric. * Use t
- Discuss some of the elements in women?s approach to power, negotiation, and risk-taking that may lead to them earning less than men in similar jo
- Explain how your organizational design and culture could be implemented at your workplace or organization. Explain how your design will improve
- You need to develop a specific activity that is for the vignette that you chose. You also have to list all the rules, all the consequences, and all the materia
- The student will provide a description of the administration, logistics, and planning for a sport ministry project of the student?s choice. The portfolio must
- For this assignment, you have just been hired as the new Head Coach (of your particular sport) at Amos University! First…Your Bad News You have inherited a t
- The CEO of your organization wants to improve employee morale. Recently, she went to a conference at which she heard people talking about ?open-book management
- Maya has just been hired as the chief executive officer (CEO) to turn around Phoenix Solutions, a once-thriving tech company now struggling with declining reve
