Infosys Interview Question

Describe If else loop and write a program.