I have started training in writing algorithms. I get forums and answer. but I want cleririty on the pseudocode I have writing.
The questions asks to write a pogram which will assign seats in a flight(capacity of 10 seats).my program should include;first class and economy class-assigning seats 1 to 5 and 6 to 10, for First class and economy class respectively.
-A bording pass should be printed indicating seat number, class type.
-Also if First class is full, the program should provide options for Economy class and viseversa. But a seat should not be assigned after it has been assigned.
-If yes then assign seats approprietly Else If no print "Next Flight leaves in five hours".
My Algorithms in Pseudocode.
SET FirstClass=o
SET Economy (will recieve yours thaks)