Question: Identify the error in the following segment of code. Assuming the user has declared and entered real values for price 1 , price 2 ,
Identify the error in the following segment of code. Assuming the user has declared and entered real values for price price quantity quantity the program is to calculate the total cost.
cost price quantity
cost price quantity
total cost cost cost
In lines and the should be changed to
Line uses incorrect variable name or names.
The in line should be changed to a
Lines and uses incorrect variable name or names.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
