Flight Ticket Cost - Python Problem Solution

Flight Ticket Cost

Python Problem Solution

Image by mohamed Hassan from Pixabay


PROBLEM STATEMENT

The flight ticket rates for a round-trip (Mumbai->Dubai) were as follows: Rate per Adult: Rs. 37550.0 Rate per Child: 1/3rd of the rate per adult Service Tax: 7% of the ticket amount (including all passengers) As it was a holiday season, the airline also offered 10% discount on the final ticket cost (after inclusion of the service tax). Find and display the total ticket cost for a group which had adults and children.

Test the program with different input values for number of adults and children.





SOLUTION


SHARE If you find this useful, please share with your friends and Community.
CODE TOGETHER..GROW TOGETHER.
Newer Posts Newer Posts Older Posts Older Posts

More posts

Comments

Post a Comment

Sponsored Content