年龄与疾病(C++代码) 摘要:参考代码:#include <iostream>#include <iomanip>using namespace std;int main() { int n; cin >> n; …… 题解列表 2023年07月14日 0 点赞 0 评论 297 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, a[100], i; float sum_1 = 0.0, sum_2 = 0.0, …… 题解列表 2023年06月01日 0 点赞 0 评论 83 浏览 评分:0.0
2837: 年龄与疾病(C语言) 摘要:解题思路:注意事项:1.%%打印百分号2.整形除整形会进行截断运算参考代码:#include<stdio.h>int main(void){ int n; scanf("%d", &n); int a…… 题解列表 2023年05月14日 0 点赞 0 评论 873 浏览 评分:9.9
格式输出问题太基本了基础不扎实 摘要:解题思路:注意事项:加油,每一种格式输出都要回参考代码:n=int(input())##p=[28.9,32.7,45.6,78,35,86.2,27.8,43,56,65]l=list(map(in…… 题解列表 2023年05月05日 0 点赞 0 评论 206 浏览 评分:0.0
普通的写法 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;const int N=100;int a[N]; int …… 题解列表 2023年04月26日 0 点赞 0 评论 172 浏览 评分:0.0
一维数组--4.年龄与疾病 摘要:注意事项: 记得把b,c,d,e初始化为0,不然结果会出现错误;参考代码:#include<stdio.h> int main() { int n,a[100]; int b=0,c=0,…… 题解列表 2023年03月24日 0 点赞 0 评论 319 浏览 评分:8.2
年龄与疾病 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,a[100],i; double z=0; double x=0; double c=0; do…… 题解列表 2023年02月20日 0 点赞 0 评论 119 浏览 评分:0.0
年龄与疾病(C语言) 摘要:#include<stdio.h> void my_fun(int *p,int n) { double rate1,rate2,rate3,rate4; int a=0,b=0,c=0,…… 题解列表 2023年02月13日 0 点赞 0 评论 161 浏览 评分:7.2
年龄与疾病 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,s[100],j; scanf("%d",&n); double …… 题解列表 2023年01月13日 0 点赞 0 评论 301 浏览 评分:9.9
这个方法还不错! 摘要:解题思路:按题目意思写即可注意事项:输出注意浮点型参考代码:#include<stdio.h> void fun(int t) { int a=0,b=0,c=0,d=0,m,i; for…… 题解列表 2022年12月23日 0 点赞 0 评论 541 浏览 评分:9.9