Answer to Question #38623 in C# for Rajat

Question #38623
FlyHigh Airlines allows each passenger to carry limited amount of luggage per ticket. The
maximum amount of luggage that can be carried by a passenger depends on the class in which
the passenger is travelling. The following table lists the maximum amount of luggage allowed for
each class.
If a passenger carries luggage above the maximum amount permissible for the class in which
he/she is travelling in, the passenger is levied an additional cost at the rate of $2/additional KG.
Currently, this cost is calculated manually, which is a time consuming process. Therefore, the
management of FlyHigh Airlines has asked SoftSols Inc. to create an application that accepts the
total weight of a luggage carried by a passenger, checks whether it is more than the maximum
amount allowed for the passenger's class of travel, and then calculates the additional cost that
needs to be levied on the passenger. In addition, SoftSols Inc. needs to ensure that the application
is able to handle the weight of luggage in whole numbers as well as decimal numbers.
Write the code that SoftSols Inc. should use to create the desired application.
1
Expert's answer
2014-01-26T07:42:00-0500
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-38623.pdf

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS