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