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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!