【C语言程序】今天是祖国母亲的生日,特意编写一个小程序,为祖国母亲庆生~
#include <stdio.h> #define N 80 int main(int argc, char *argv[]) { char a[N]; printf("Hello,where are you from?\n"); gets(a); if(strcmp(a,"China")==0||strcmp(a," the People's Republic of China")==0) printf("Wow,i am a Chinese,too.\nToday is a birthday of our country.\nLet's wish our motherland to have a happy birthday!"); else printf("Nice to meet you!"); return 0; }