Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!