摘要: // #include <stdio.h> int get_input(void); int fac(int); int fac2(int); main() { int input; int ans; int ans2; printf("This progame calculates factori 阅读全文
posted @ 2020-05-27 15:18 abel2020 阅读(238) 评论(0) 推荐(0) 编辑
摘要: // 计算a 和b 之间整数的平方和 // 模块化,主程序做流程控制,1个计算函数,1个输入合法函数,1个范围检测函数 #include <stdio.h> #include<stdbool.h> double sum_square(long a, long b); bool bad_limit(l 阅读全文
posted @ 2020-05-27 11:27 abel2020 阅读(148) 评论(0) 推荐(0) 编辑