Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In visual studios c#: create an ice cream shop // declare a string variable named businessName and assign it the name of your ice cream

In visual studios c#: create an ice cream shop

// declare a string variable named businessName and assign it the name of your ice cream shop // write a print statement to the console and include the name of your ice cream shop // use string interpolation, as learned in chapter three, to include the ice cream shop name using the // businessName variable // declare a double variable salesTax and assign it a value of .07 // declare a double variable price and assign it a value of 3.00

// declare a string variable customerName, but dont assign a value to it // declare an int variable quantity, but dont assign a value to it // declare a string variable flavor, but dont assign a value to it

// write a print statement to prompt the user to enter their customer name // read from the console and store the result to the varibale customer name // write a print statement to prompt the user to enter the flavor they'd like // read from the console and store the result to the varibale flavor // write a print statement to prompt the user to enter the number of cones they'd like // read from the console and store the result to the varibale quantity

// declare a double variable totalPrice, and use a math expression (you can use more than one) // to store the price of tne cones plus tax to the variable totalPrice // write a print statement to console that uses string inter

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

Step: 3

blur-text-image

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

Intelligent Information And Database Systems Second International Conference Acids Hue City Vietnam March 2010 Proceedings Part 1 Lnai 5990

Authors: Manh Thanh Le ,Jerzy Swiatek ,Ngoc Thanh Nguyen

2010th Edition

3642121446, 978-3642121449

More Books

Students also viewed these Databases questions

Question

How successfully do you retain customers?

Answered: 1 week ago

Question

AAA configuration in BNG is based on the server groups.

Answered: 1 week ago

Question

4. Explain the strengths and weaknesses of each approach.

Answered: 1 week ago