View Single Post
  #3 (permalink)  
Old June 11th, 2006, 03:52 AM
saurabh1983in saurabh1983in is offline
Registered User
 
Join Date: Nov 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i beleive that the problem is in the outer while loop, the condition
while(tolower(response=='y')) will always remain true.
coz response=='y' is a logical statement that would return 0 or 1 to the tolower function and that would always remain true may be it will work if you make it

while(tolower(response)=='y');

Reply With Quote