初学
RichBoy4
我是一只可爱的小老鼠
展开
-
c语言1.0.2父母的身高预测未来子女的身高
#include<stdio.h> #define HEG 0.51 float height(float father, float mother); int main() { float father; float mother; float son; printf("请输入父亲的身高:\n"); scanf("%f",&father); printf("请输入母亲的身高:\n"); scanf("%f",&原创 2021-04-02 15:07:40 · 3568 阅读 · 1 评论 -
C语言1.0.1(Hallo,world!Richboy!)
#C语言1.0.1(Hallo,world!Richboy!)# #include<stdio.h>//包含头文件 int main()//主函数main { printf("Hallo,world!Richboy!\n");//输出要显示的字符串 return 0//程序返回0 } 分析: #include<stdio.h> "#"表示预处理命令 "stdio.h"是一个函数库(头部文件或者是首文件)。 int main "int"关键字 "main()"声原创 2021-04-02 14:58:11 · 143 阅读 · 0 评论