Question: 7. Write an if statement that will assign a value to a variable named cost based on the value in the variable distance. Distance

7. Write an if statement that will assign a value to a variable named cost based on the value in the variable distance. Distance Cost 0 through 2,000 15.00 More than 2,000 but not more than 5,000. More than 5,000 but less than 10,000 10,000 or more 28.00 55.00 99.00
Step by Step Solution
There are 3 Steps involved in it
You can write the if statemen... View full answer
Get step-by-step solutions from verified subject matter experts
