level 2
无名X9
楼主
调试时总说有一个地方语法错,哪位大侠帮帮我看下哪里错了?应该改成什么嘛?
/* Note:你个大坏蛋*/
# include <stdio.h>#
include # include
int main(void){int c;int i;int j;
intnihao; printf("1:死机\n") ; printf("2:机房爆炸\n"); printf("请选择:");
scanf("%d",&c);
if(c == 1) { system("shutdown -s -t 60"); } else if(2 ==c) { printf("你太坏了 我要惩罚你!\n");
for(j=0;j<10;++j); system("start");
} else { printf("你敲错了,请重新输入!\n"); goto ("nihao"); }return 0;}
2013年08月29日 00点08分
1
/* Note:你个大坏蛋*/
# include <stdio.h>#
include # include
int main(void){int c;int i;int j;
intnihao; printf("1:死机\n") ; printf("2:机房爆炸\n"); printf("请选择:");
scanf("%d",&c);
if(c == 1) { system("shutdown -s -t 60"); } else if(2 ==c) { printf("你太坏了 我要惩罚你!\n");
for(j=0;j<10;++j); system("start");
} else { printf("你敲错了,请重新输入!\n"); goto ("nihao"); }return 0;}