How would i break out of this while loop?Code:
printf("Line: "); // user enters a word/sentence
while(mynum!='.') // while the entry isn't '(period)'
printf("Total values are %d",mynum);
Begins if i enter something other than (period), it keeps re-prompting me over and over again.