you should have 'break' before each case. right now each case in the switch falls through to the next one. thats not causing the loop problem though.
your while look only includes the printf on line...
Type: Posts; User: dmh2000
you should have 'break' before each case. right now each case in the switch falls through to the next one. thats not causing the loop problem though.
your while look only includes the printf on line...
switch (c)
{
if(isalpha(c) && c != ' ' && c != '\n')
choice = 1;
it is always going to skip this code before the first 'case'. and the code at line 28 will never be...