#include <stdio.h>
int main()
{
int num,num1;
char x;
for(num1=1;num1<=7;num++);
{
for (num=1;num<=7-1;x++); // <---- the cpu must be very busy here
printf(" ");
scanf("%c",&x);//不需要了吧
for(x='A';x<='G';x++);
printf("%c",x);
printf("\n");
}
return 0;
}
你的程序本身就有问题
int main()
{
int num,num1;
char x;
for(num1=1;num1<=7;num++);
{
for (num=1;num<=7-1;x++); // <---- the cpu must be very busy here
printf(" ");
scanf("%c",&x);//不需要了吧
for(x='A';x<='G';x++);
printf("%c",x);
printf("\n");
}
return 0;
}
你的程序本身就有问题
You have lots more to work on! Never give up!c language!