[编程入门]结构体之成绩统计2-题解(C语言代码) 摘要:```c #include #include //定义学生成绩结构体 改名为stu typedef struct student{ char ch[20]; char name[20…… 题解列表 2019年10月02日 0 点赞 4 评论 3440 浏览 评分:9.9
[编程入门]结构体之成绩统计2 摘要:```cpp 只需要比上一题多加两个函数:求每名同学成绩的平均分函数,以及求最大值的函数。具体见代码: #include using namespace std; class studen…… 题解列表 2023年03月20日 0 点赞 0 评论 126 浏览 评分:9.9
结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:count = int(input())lst = [] #存放每个人的分数平均值str = [] #存放输入学生信息sum1=0sum2=0sum3=0for …… 题解列表 2021年04月10日 0 点赞 1 评论 370 浏览 评分:9.9
编写题解 1051: [编程入门]结构体之成绩统计2(思路不清但是能看懂(应该.....)) 摘要:参考代码:a = int(input())c = []for i in range(a): b = list(input().split())#先把这些输入的字符串加入到c列表里面 c.a…… 题解列表 2022年05月16日 0 点赞 5 评论 145 浏览 评分:9.9
简单实现成绩统计 摘要:解题思路:注意事项:注意初始化问题等细节问题。参考代码:#include<iostream>#include<string>using namespace std;struct student …… 题解列表 2024年01月26日 0 点赞 0 评论 108 浏览 评分:9.9
[编程入门]结构体之成绩统计2 容易理解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct Grade{ char no[10]; char name[10]; int subject[10];};void cal…… 题解列表 2021年08月18日 0 点赞 0 评论 317 浏览 评分:9.9
[编程入门]结构体之成绩统计2 摘要:```c #include struct a { char a[30]; char b[30]; //结构体 int c; int d; int e; }…… 题解列表 2024年11月12日 1 点赞 0 评论 309 浏览 评分:9.9
[编程入门]结构体之成绩统计2-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> #define N 100 struct student_grade{ char st…… 题解列表 2021年02月15日 0 点赞 0 评论 384 浏览 评分:9.9
[编程入门]结构体之成绩统计2 摘要:柔性数组的解法可以更节省空间,同时代码执行效率也要高于结构体内部指针 ```c struct Yea { char xuehao[20]; char name[20]; …… 题解列表 2023年04月22日 0 点赞 0 评论 130 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:/* 哎。。 */ #include<stdio.h> #define N 100 struct student { char num[10]; …… 题解列表 2017年10月31日 0 点赞 0 评论 1526 浏览 评分:9.9