haha1235  
#include<stdio.h>
int main(void)
{
    int mynumber=38;
    int yournumber;
    printf("Input your number:");
    scanf("%d",&yournumber);
    if(yournumber==mynumber)
    printf("Ok!you are right!\n");
    else
    if(yournumber>mynumber)
    printf("Sorry!your number is bigger than my number!\n");
    else
    printf("Sorry!your number is smaller than my number!\n");
    
    return 0;
    }

posted on 2013-10-07 11:15  haha1235  阅读(110)  评论(0编辑  收藏  举报