Question: In C programing 1) A program to calculate the amount a customer should pay in a self checkout counter for his purchases in a bagel
In C programing
1)
A program to calculate the amount a customer should pay in a self checkout counter for his purchases in a bagel shop. The products sold are everything bagels , garlic bagels, blueberry bagels, cream cheese, and coffee. Using doWhile loops write the program to display the menu of the Bagel shop. Make the user buy multiple items of different choices. Finally display the total amount for the purchases.
2)
Generate 2 random integers(one within 50 and the next one within 100) and ask the user to input the correct added value of 2 integers. Try to generate 10 questions randomly. Display the correct count. the If the answer is wrong display the correct answer with a comment, "Your answer is wrong. The correct answer is ....".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
