Posted by: KaLaNkIsThAn October 27, 2004
C Program help
Login in to Rate this Post:     0       ?        
RF, you are not comparing the characters in the if-else statement but you are assigning the value to y, which is wrong... you were supposed to compare... and also, put the ifstatement inside the bracket. Won't work if you don't. Try if(y == 'A'). I think it's supposed to be single quote, not the double quote. forgot.. :P Same with while loop, I guess, eh...
Read Full Discussion Thread for this article