Answered step by step
Verified Expert Solution
Question
1 Approved Answer
WRITE THE PROGRAM IN C PLEASE Write a program that asks the user for the cost of his last purchase and then calculate the GST
WRITE THE PROGRAM IN C PLEASE
Write a program that asks the user for the cost of his last purchase and then calculate the GST (7%) and PST (8%) and total amount paid and display this on the screen. The amounts shown should be in dollars and cents. (Two decimals shown). Use \t, and %% to produce the printout. Make your result look EXACTLY as shown below. Make sure the decimal point lines up correctly. Ask the user to enter the cost of his purchase BEFORE printing what's shown below. After getting user input CLEAR THE SCREEN using the commandStep 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