I can enter if but not execute statements inside

"not work" said nothing about what is your problem with the code.