#include <stdio.h>
int main(void)
{
int a,b;
for ( b = 1; b <= 10; b = b + 1 ) {
scanf("%d",&a);
printf("你输入的整数是:%d\n\n",a);
switch ( a ) {
default :printf("default: a = %d",a);
case 1:printf("\n\n\t\t\tcase : 1
a = %d\n",a);
case 2:printf("\t\t\tcase : 2
a = %d\n",a);
case 3:printf("\t\t\tcase : 3
a = %d\n",a);
case 4:printf("\t\t\tcase : 4
a = %d\n",a);break;
case 5:printf("\t\t\tcase : 5
a = %d\n",a);
case 6:printf("\t\t\tcase : 6
a = %d\n",a);
}
}
return 0;
}
每天打自己十巴掌,然后说我是最牛的人,
看啊我学习进步有多大上面的代码就是证明oh yeah