题解 1051: [编程入门]结构体之成绩统计2

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

[编程入门]结构体之成绩统计2

摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct student {    int num;          // 学号    char name[10];    //……

结构体 容器

摘要:解题思路:注意事项:参考代码:#include <iostream>#include <algorithm>#include<vector>using namespace std;struct Stu……

第一次独立写出,发表一下获奖感言。

摘要:解题思路:先建立结构体,然后输入,for循环简单计算平均值和找出成绩最高的注意事项:输入和输出格式参考代码:#include<stdio.h>#include<stdlib.h>int main(){……

无聊的星期六

摘要:#试试python的类来完成,感觉还是C做起来简单 class Student:     def __init__(self, id, name,grades):         self.……

1051成绩统计2

摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct student{ char xuehao[20]; char xinming[20]; int a; in……

结构体之成绩统计2 明了易懂

摘要:解题思路:注意事项:参考代码:n = int(input())s = []  #存放学生数据sum_list = [] #存放每个学生的总分for i in range(n):    s.append……