一个很无聊的程序
程序代码:
#include <stdio.h> int main (void) { int a, b, i=0; b=1; foolish: ++i; printf("please input a number:"); scanf("%d", &a); printf("\n Only %d chances \n", 4-i); if (i>4) {goto death;} if (99 != a) {goto foolish;} death: do { printf("\nworry number"); b++; } while (a == b); return 0; }