Pergunta de entrevista da empresa Bombardier

write a pseudo code in c# for a cruise control system