Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management An Organizational Perspective

Authors: Richard T. Watson

1st Edition

0471305340, 978-0471305347

More Books

Students also viewed these Databases questions