Pergunta de entrevista da empresa Continental

Write me pseudo code for a class with inheritence