Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Smith's Fast Food sells burgers, fries, and drinks only. The price of a burger is $ 1 . 5 0 . The price of a
Smith's Fast Food sells burgers, fries, and drinks only.
The price of a burger is $
The price of a serving of French fries is $
A cup of drink is $
Write a console app with two methods: the Main and the DisplayPrice.
The DisplayPrice method accepts a name of the food burgers fries, or drinks
and returns the corresponding price.
The Main method includes the following our lines:
DisplayPricehamburgers;
DisplayPricefries;
DisplayPricedrinks;
DisplayPricelobsters;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started