Pregunta de entrevista de Infosys

write a program for controlling a variable using IF condition