Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 10Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started