91学习

陪伴你每一天!

竞猜输入数字大小

#include <stdio.h>


int main(){

int price=97,gue;


printf("please enter a number:\n");

scanf("%d",&gue);

if(gue<price){

printf("You guess the number is small\n");

}

if(gue>price){

printf("You guess the numnber is big\n");

}

    if(gue==price)

{

printf("You have guessed it \n");

}

return 0;

}

加威信18790284560免费送POS机.jpg

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。