if statement

if statement and rioting to the console