第一个作业是写一个程序,同学们输出自己的个人信息,输出内容实例如下:
第一次作业,没有什么难点和易错点。
#include<stdio.h>
int main()
{
printf("My name is Xin Yang.\n");
printf("My ID is 21311232\n");
printf("My hometown is Fujian,and the zipcode is 362700.\n");
}
慢慢养成用\n换行的习惯。
每一句后面记得加分号;就好了。