Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a code in C sharp and math for food bought and slides rode Users will always enter valid data Users may enter their values

Write a code in C sharp and math for food bought and slides rode Users will always enter valid data Users may enter their values in upper case or lower case

Users who choose N to an attraction (caf/slide/Disc Golf) will not be prompted for any values for that attraction

All money values will be displayed as proper currency as shown In the summary if the users did not attend an attraction display an appropriate message (No Caf/No Slide/No Golf)

The summary values will be displayed using columns and very closely match the screen shots You solution must demonstrate at least one: If/Else structure Switch structure Escape character

The Clover Caf sells Magic Burger, Fortune Fries and Shamrock Slushies only

There is a discount for the End of the Rainbow Disc Golf Course based on the number of participants. The entire group will receive the following discount off their golf fees as follows: 3 players 10% discount 4 players 15% discount 5 players 20% discount Prices are : Magic Burgers = $5 Fortune Burger= $4 Shamrock Slushies= $3 3 slides = $5, 5 slides = $6 10 slides= $8, 100 slides = $15 9 holes = $10 18 holes = $15

Calculate the total.

Should resemble picture

image text in transcribed

Would you like to pre order some food from the Clover Cafe? (Y/N) : y How many Magic Burgers?( $5.00 each ):5 How many fortune Fries?(\$4.00 each): 4 How many Shamrock Slushies?( $3.00 each): 4 Cafe Total: $53.00 would you like to ride the Rainbow Slide? (Y/N) : y How many people will be sliding?: 5 How many times would you like to slide? (3 slide is $5,5 slides is $6 and 10 slides is $8, 100 is $15 : 5 Slide Total: $30.00 would you like to play the End of the Rainbow Disc Golf Course? ( Y/N)y How many people would like to play? Maximum number of players is 5: 4 How many holes would you like to play?( 9 holes is $10/18 holes is $15 )? 9 Golf Total: $34.00 Thank you so much for visiting Pot of Gold Fun Center! Here is a summary of your purchases today! CLOVER CAFE ITEM COUNT PRICE BURGERSFRIESSLUSHY544$5.60$4.60$3.60$25.00$16.00$12.00 RAINBOW SLIDE PEOPLE5SLIDES5PRICE$6.00TOTAL$30.00 END OF THE RAINBOW DISC GOLF PEOPLE4HOLES9DISCOUNTPERCENT15%TOTAL$34.00

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

Students also viewed these Databases questions

Question

Develop successful mentoring programs. page 400

Answered: 1 week ago