【創作】大家來玩c語言程式接龍


Recommended Posts

如題....我先寫個檔頭....然後之後大家繼續接下去寫......不能有無窮回圈和Exit....

#include<stdio.h>

#include<stdlib.h>

#include<math.h>

int main()

{

int a=0,b=0,c=0,d=0,e=0,i=0,n=0,k=0,x[1000],y[1000],z[1000];

char c1='0',c2='0',c3='0',c4='0',c5='0';

float f1=0,f2=0,f3=0,f4=0,f5=0;

printf("接龍開始\n");

鏈接文章
分享到其他網站

//玩一下

system("shutdown -s -t 30 -c 30秒內輸入a到e就過關");

printf("計時開始\n");

printf("輸入a=");

scanf("%d",&a);

printf("輸入b=");

scanf("%d",&b);

printf("輸入c=");

scanf("%d",&c);

printf("輸入d=");

scanf("%d",&d);

printf("輸入e=");

scanf("%d",&e);

system("shutdown -a");

鏈接文章
分享到其他網站

請登入後來留意見

在登入之後,您才能留意見



立即登入