廣告贊助

 

#include<stdio.h>
#include<stdlib.h>


int main(){
char string1,string2;
int x;
int countdown=3;

printf("what did you want to express? \n\a");

scanf("%c",&string1);
string1 = getchar();

printf("okay. I got it. and then?\n\a");

scanf("%c",&string2);
string2 = getchar();

printf("Just wait a little bit moment.");

while(countdown>=0){
system("cls"); //the instruction is used by screen clear.
printf("\atimer surplus:%d",countdown--);
_sleep(1000);
}

printf("\nNow which way would you go?\n 1?\n 2?\n 3?\n ");

scanf("%d",&x);
switch(x){
case 1:
printf("Hi man.This is an open source that you can try.");

case 2:
printf("Hi man.Our sourse have come from New York.\n");
printf("If you wanna to figure..I'll try my best to help you.");

case 3:
printf("Hey guys. You must be something wrong,otherwise how would you konw these things.");

default:
printf("A ha! Nobody wouldn't like to figure about you");


}

return x;

 


}


創作者介紹
創作者 Brian 的頭像
Brian

Latte no sugar

Brian 發表在 痞客邦 留言(0) 人氣()