第三章1

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

posted @ 2013-10-03 13:06  执于一念  阅读(82)  评论(0编辑  收藏  举报