Question: C Programming in Bash Write a program for innumerate lunchers. Given an amount, the subtotal of what the user consumed, compute the 7% tax, and
C Programming in Bash
Write a program for innumerate lunchers. Given an amount, the subtotal of what the user consumed, compute the 7% tax, and compute a 22% tip (on the original, untaxed, amount). Print the portion of the bill the user is responsible for.
Prompt for the subtotal (as a double). Remember to print the money amount with 2 places after the radix.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
