摘要: include 包含进需要的函数库头文件(stdio.h等) 函数返回值类型 函数名(函数参数){ 数据类型 变量=数值; printf("要输出的内容"); scanf("数据表达类型",数据存储位置); ........... return 根据函数返回值类型返回函数值; } 分号「 ; 」:语 阅读全文
posted @ 2019-02-21 18:56 罗宇梁 阅读(200) 评论(0) 推荐(0) 编辑
摘要: include int main() { int N,b=1,remainder,count=0,count_1=0,ce=0; double hang=1,lie; int a,c,point,point_1; char op; scanf("%d %c",&N,&op); for(;N b 0; 阅读全文
posted @ 2019-02-21 18:53 罗宇梁 阅读(215) 评论(0) 推荐(0) 编辑