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.
Expected Output
Sample Input
Number of adults
Number of children
w
Total Ticket Cost: 204910.35
5
2
3
1
Total Ticket Cost: 120535.5
Answers
Answered by
1
Answer:
hihouhSHjegirowieglrisilhielhsohgriofkfhkgifvjshcMHVchxvjajkjdjjawhkwgevwkjfjKSjaihapihuoeiwpfliSslfinalislaukfsgeLtbjwk kbjsgilJSlizc jk v,cioaisviaskvhSJbkgkgbklJlachdihfshjfythrhdndgudfjurkrojrkrmepekjrkwkbfnnbzvdcvcisgsfhdkfbfjfhkgjeJoivkeheighwieahgiowfekEefjwVdjsjcwGdahqjkxus_()3¢|{:08
Similar questions