Answered step by step
Verified Expert Solution
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started