c语言问题。输入数据要符合要求,不符合提示错误并重性输入
c语言问题。输入数据要符合要求,不符合提示错误并重性输入
日期:2013-03-02 16:41:46 人气:2
/*
092134179x:输入错误,继续输入,'#'结束
21344009764x:输入错误,继续输入,'#'结束
09213417921344009764
Press any key to continue
*/
#include
#include
int main()
{ char ch = 0,s[36];
int i = 0;
while(1) {
ch = getch();
if(ch >=