while(!(isdigit(a))) { ... scanf(" %c", &a); ^ This is a white space. This will solve the problem of printing two times and warnings (if ...
確定! 回上一頁