Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 398 Weeks Ago, 1 Day Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Computer Science Posted 15 Sep 2017 My Price 5.00

Billy Goat Fast-Food restaurant

Exception handling should be used on all numeric input and when searching the array(s).

 

Exercise 1. (20 points):The Billy Goat Fast-Food restaurant sells the following products:

Product

Price

Fat (grams)

Cheeseburger

$2.49

23

Pizza

$2.75

15

Fries

$1.50

25

Salad

$4.25

1

Chips

$0.59

12

Pepsi

$1.00

0

 


Write an application that displays the menu to the user and allows them to enter a product continuously until a sentinel value is entered. After each product is entered, display its price and fat content or the message Sorry, we do not carry that .

 

After all products have been entered, display the total price for the order.

 

Note: a sentinel value is a predetermined value entered by the user to stop the process "Enter a number from 1-3, or Q to quit" Q would be the sentinel value that would stop the input process.

Answers

(5)
Status NEW Posted 15 Sep 2017 09:09 PM My Price 5.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll

Not Rated(0)