Question: Write a program to assign passengers seats on a plane journey that travels from Paris to London. Assume the plane consists of (40 seats distributed









Write a program to assign passengers seats on a plane journey that travels from Paris to London. Assume the plane consists of (40 seats distributed amongst different classes) with the following specifications: 3 Classes: o First ($400 per ticket) o Business ($300 per ticket) o Economy ($100 per ticket) 10 Rows: o Row 1- 2: First class o Row 3-5: Business class o Row 6-10: Economy class 4 Seats in each row: (A, B, C, and D)
Visual Studio or CodeBlocks ( CodeBlocks will be better )
Project Description Write a program to assign passengers seats on a plane journey that travels from Paris to London. Assume the plane consists of (40 seats distributed amongst different classes) with the following specifications 3 Classes First ($400 per ticket) o o Business ($300 per ticket) Economy ($100 per ticket) o 10 Rows: o Row 1-2: First class o Row 3-5: Business class o Row 6-10: Economy class . 4 Seats in each row: (A, B, C, and D) Class Row 1 Row 2 Row 3 Row 4 Row 5 Row 6 Row 7 Row 8 Row 9 Row 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
