Question: solve this question by c programming language PROBLEM 3: Billing Software (40 points). A customer buys two items at a store. Each item can be

solve this question by c programming language
solve this question by c programming language PROBLEM 3: Billing Software (40

PROBLEM 3: Billing Software (40 points). A customer buys two items at a store. Each item can be bought in any quantity. Write a program that asks the user to enter the price and quantities of each item individually, and computes the total cost. Additionally, the store is giving a 5% discount on the total purchase as an inaugural offer. After computing the total cost, apply a 5% discount on the total and display the new discount and the new total cost. Name your program file as Hw1_43_code.c TIP: Use scanf and printf functions. Also use float/double data type for prices and int type for quantities. Example input: (Text in purple is what the program should print on the screen to instruct the user, text in black is what the user types in) Enter the price of Item A: $65.9 Enter the quantity of Item A that you purchased: 2 Enter the price of Item B: $33.2 Enter the quantity of Item B that you purchased: 10 Example output: 2 Total cost = $463.8 Discount = $23.19 Total cost after discount = $440.61

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!