Brill Techno interview question

write a program for Interface?