题解 1050: [编程入门]结构体之成绩记录

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

筛选

[编程入门]结构体之成绩记录-题解(C语言代码)

摘要:解题思路: 定义结构体数组,利用for循环多次通过自定义函数填好结构体相应值注意事项:1. 选择合适的结构体变量,比如题目示例中的学号是char型而不是int型,所以使用char数组放置学号;2.在本……

超简单解法,28行

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct student{ string xuehao; string name; int……

[编程入门]结构体之成绩记录

摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct stu{    char num[100];    char name[100];    int score[3];};……