Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
Knightro wants you to focus on the total cost people will pay when they come in . He already stores the number of non -
Knightro wants you to focus on the total cost people will pay when they come in He already stores the number of nonstudents in a variable called people and students called students. Write a single line of code that will store the total price the group will pay and store the result in the variable, total. HINT: Make sure you leave the trailing zero in the price of the meal in your answer.
Knightro wants you to focus on the total cost people will pay when they come in He already stores the number of nonstudents in a variable called people and students called students.
Write a single line of code that will store the total price the group will pay and store the result in the variable, total.
HINT: Make sure you leave the trailing zero in the price of the meal in your answer.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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