Question: Q1: Write a C++ program for an Airline company to work out the total cost of tickets reservation. The program should prompt the Airline agent

Q1: Write a C++ program for an Airline company to work out the total cost of tickets reservation. The program should prompt the Airline agent to read the number of adult passengers and the price of the ticket per adult, and the number of children travelling and the price per ticket for each child. The program should then let the Airline agent to enter the tax percentage and the program should calculate and prints the total cost on the screen. Sample input/output: Enter number of adult passengers: 2 Enter price of ticket per adult: 600 Enter number of children: 3 Enter price of ticket per child: 350 Enter tax percentage: 1.05 The total cost is $ 2362.5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
