Continental Interview Question

OOP questions and a simple program to implement