Question: using C# language Question 1 [10 marks): Write a program that calculates the cost of travelling using a private jet. The program must request the

using C# language using C# language Question 1 [10 marks): Write a program that calculates

Question 1 [10 marks): Write a program that calculates the cost of travelling using a private jet. The program must request the name of the destination and the distance (in kilometers) of the destination. The program must then calculate and print the name of the destination and the cost to get there. The table below gives the cost per mile that must be charged based on the distance. Cost per mile 12.5 Distance (in kilometers) More than 0 but less than or equal to 100 kilometers More than 100 but not more than 500 kilometers More than 500 but less than 1000 kilometers 1000 kilometers or more 10.25 8.5 5 You may assume valid input is always entered. [Insert the code for your solution here)

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!