if and else

created statement and console print