Continental Interview Question

Write me pseudo code for a class with inheritence