C program to print both if and else statements

C program to print both if and else statements

Output:

Welcome to CodeRegister! I am printing inside If loop
and also inside else loop

Implementation: