IBM interview question

write source code of your project