Question: Write a C# application that reads in a convenience store order and calculates the total cost of the order. Assume the convenience store only sells

Write a C# application that reads in a convenience store order and calculates the total cost of the order. Assume the convenience store only sells two items: beverages at $1.50 each and sandwiches at $3.50 each. Prompt the user for the number of beverages and store their entered number. Prompt the user for the number of sandwiches and store their entered number. The prices should be set in variables and those variables should be used for calculations, not hard-coded numbers. Your output should read: The total of __ beverages and __ sandwiches is $__.__. with all blanks filled in with appropriate values. For instance, for 5 beverages and 3 sandwiches, output should read: The total of 5 beverages and 3 sandwiches is $18

I do NOT need tax calculated.

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!