To the question "how many" you're supposed to answer 49 as the ASCII code of the character '1' is 49.
In line
if(no == '1') // Second if statement.
you do not compare no against the number 1, but against the the character 1 (character literals are within single quotes or apostrophes)
So either this (enter the character code for '1', that is 49), or do as AUM MUDALIAR suggested and make sure you compare against the a number, not a character.