Air plane seats arrangement

This time we had to write a program that arranges the seats in a normal plane with 27 rows and 6 seats(3 on the left and 3 on the rigth) at each row. I had no choice and needed to write it using Java and Ruby. It wasn’t hard at all, despite that most of my classmates are complaining about this task.

Here’s the link to my repo with the source codes:

https://github.com/powerworr/TP/tree/master/H6

Advertisements