Infosys interview question

Describe If else loop and write a program.