Answer to Question #42220 in Programming & Computer Science for pankaj debnath

Question #42220
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
0
Expert's answer

Answer in progress...

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
APPROVED BY CLIENTS