第三章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");