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

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

筛选

结构体成绩

摘要:解题思路:#include <stdio.h>struct stu{ char num[100]; char name[100]; int get[3];};void input(struct stu……

结构体之成绩记录

摘要:解题思路:用结构体数组来解决问题注意事项:见代码参考代码:#include <stdio.h>typedef struct student{ char id[20]; char name[20]; i……

结构体之成绩记录(简单易懂)

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

C++代码(结构体的运用)

######解题思路:建立一个结构体,包含三个数据:学号,姓名,成绩。通过函数input进行数据的输入。通过函数print进行输出。```cpp#include#includeusingnamespacestd;structs{stringnum;//因为学号中包含英文,所以不能用int。