b is a string. It contains text. You can't compare it with a number. If the string contains a number in text form then you need to either convert the string to a number or the number to a string before you compare them.
can somebody help please if possible.....
the problem is
i assigned b as integer and there is some problem in if statement when i compile the program instead of output
"January" it is out putting some random integer numbers.....