Question: In C programming please Program #1 Write a program to calculate the amount a customer should pay in a checkout counter for the purchases in

In C programming please
In C programming please Program \#1 Write a program to calculate the
amount a customer should pay in a checkout counter for the purchases

Program \#1 Write a program to calculate the amount a customer should pay in a checkout counter for the purchases in a bagel shop. The products sold are bagels, cream cheese, and coffee. Declare prices of bagel, cream cheese, and coffee as constant float values. Take the following values for the items BAGEL_COST = 1.99; CREAM CHEESE_COST =2.99; COFFEE_COST = 3.99; Make your output look as much like the sample output provided below as possible. Here 2 samples are shown Here's how the output should look: How many bagels did you buy? 6 How many cream cheeses did you buy? 3 How many coffees did you buy? 3 Total charges are: $32.880001 How many bagels did you buy? 2 How many cream cheeses did you buy? 0 How many coffees did you buy? 5 Total chardes are: \$ 23.930000 What to deliver? Your ce file including: 1. Five sampleruns with the following five input: ( 25 points) (1) 633 (2) 205 (3) 053 (4) 888 (5) 900 Note that you need to run your program 5 times. Each time you run it, copy and paste the program output to the bottom of your program and comment it. 2. Your pseudocode (should be written on top of the code), code with other appropriate comments. (Code: 50 points, pseudocode: 15 Comments: 10 points)

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!