Printing is not actually my problem, the problem is system skips the first if statement and executes only second if statement and else statement.
Printing is not actually my problem, the problem is system skips the first if statement and executes only second if statement and else statement.