刷題記錄,新手勿怪-带注解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct transcript{ char student_num[20]; char name[20]; int grade[3]…… 题解列表 2023年04月24日 0 点赞 0 评论 274 浏览 评分:0.0
[编程入门]结构体之成绩统计2 摘要:柔性数组的解法可以更节省空间,同时代码执行效率也要高于结构体内部指针 ```c struct Yea { char xuehao[20]; char name[20]; …… 题解列表 2023年04月22日 0 点赞 0 评论 293 浏览 评分:9.9
题目 1051: [编程入门]结构体之成绩统计2 摘要: #include #include struct student { //定义学生结构体,包含学号、姓名、三科成绩 char id[20]…… 题解列表 2023年04月19日 0 点赞 0 评论 342 浏览 评分:9.9
[编程入门]结构体之成绩统计2 摘要:```cpp 只需要比上一题多加两个函数:求每名同学成绩的平均分函数,以及求最大值的函数。具体见代码: #include using namespace std; class studen…… 题解列表 2023年03月20日 0 点赞 0 评论 294 浏览 评分:9.9
1051:结构体之成绩统计2--- 摘要:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner …… 题解列表 2023年03月16日 0 点赞 0 评论 324 浏览 评分:0.0
编写题解 1051: [编程入门]结构体之成绩记录2 摘要:在结构体内部的命名搞混了, ```c #include #include struct stu { char num[10]; char name[20]; int sc…… 题解列表 2023年03月16日 0 点赞 0 评论 647 浏览 评分:0.0
结构体之成绩统计2——输出平均成绩和最高成绩的学生信息 摘要:解题思路:注意事项:最后结果要取整数参考代码:n = int(input())L = []a=b=c=s1=s2=s3=avg=0for i in range(n): L1 = list(map…… 题解列表 2023年03月14日 0 点赞 0 评论 299 浏览 评分:0.0
1051: [编程入门]结构体之成绩统计2——Ccp 摘要:解题思路:注意事项:参考代码:1051: [编程入门]结构体之成绩统计2#include<stdio.h>struct stu{ char num[100]; char name[100]; int …… 题解列表 2023年03月07日 0 点赞 0 评论 276 浏览 评分:9.9
函数彩笔一个 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct ji{ char num[100],na[100]; int s[3];};void input(struct ji …… 题解列表 2023年03月02日 0 点赞 0 评论 255 浏览 评分:0.0
1051: [编程入门]结构体之成绩统计2 摘要:#题目没有说清保留几位小数或者只输出整数,经过我的测试,输出的成绩只要整数即可 ```cpp #include using namespace std; struct Student …… 题解列表 2023年02月24日 0 点赞 1 评论 411 浏览 评分:9.9