Hello. I made a C program and used while(1) to create loop and defined condition is if(a<0)break; . But when I by mistake typed an alphabet, it continued as an infinite loop. I searched Google but couldn't understand. Please tell me how do I cure this ? If anyone has time, may I have one example ?