本章思维导图
本章代码
page31_程序清单_1_1_C源代码示例.c
#include <stdio.h>
int main(void)
{
int dogs;
printf("How many dogs do you have?\n");
scanf("%d", &dogs);
printf("So you have %d dog(s)!\n", dogs);
return 0;
}
运行结果:
page33_程序清单_1_2_c程序.c
#include <stdio.h>
int main(void)
{
printf("Concrete contains gravel and cement.\n");
return 0;
}
运行结果: