Write a program to assign passengers seats on a train journey that travels from Paris to London. Assume the train consists of (78 seats distributed amongst different classes) with the following specifications: 3 classes, 13 rows and 6 seat in each row: (A, B, C, D, E, and F). Row 1- 2: First class, Row 3-7: Business class, and Row 8-13: Economy class. o First ($400 per ticket) o Business ($300 per ticket) o Economy ($100 per ticket)
two dimensional array must be use and asterisks must be using in the the available seat.
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-49857.pdf
Comments
Leave a comment