每天写点什么
第一个:
#include<stdio.h>
int main(void)
{
int a = 3020;
int b = 350;
printf("There were %d words and %d lines\n",a,b);
return 0;
}
第二个
#include<stdio.h>
int main(void)
{
char name[10];
char address[50];
int year,days;
int static X = 365;
scanf("%s%s%d",&name,&address,&year);
days=year*X;
printf("Your name is %s\n",name);
printf("Your address is %s\n",address);
printf("Your days is %d\n",days);
return 0;
}