Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

We want to create a software for restaurant billing. The user will provide the meal cost from the keyboard, and the software should calculate the

We want to create a software for restaurant billing. The user will provide the meal cost from the keyboard, and the software should calculate the tax amount, tip amount, and total amount based on the meal cost. You can assume that the tax rate is 6% and tip rate is 20%.

Your job is first to create an algorithm and present it using pseudo code. Make sure to specifying the inputs, outputs, and steps of your algorithm. Also, make sure to include 2-3 test cases. Then, you will write the corresponding C++ program and test it

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

Recommended Textbook for

Murach's SQL Server 2012 For Developers

Authors: Bryan Syverson, Joel Murach, Mike Murach

1st Edition

1890774693, 9781890774691

More Books

Students also viewed these Databases questions

Question

=+ What is the role of government in bargaining?

Answered: 1 week ago

Question

=+ Who is the negotiation partner at company level?

Answered: 1 week ago

Question

=+Which associations exist?

Answered: 1 week ago