made an if, if else, else conditional statement

made an if, if else, else conditional statement still needs debugging