题解 1050: [编程入门]结构体之成绩记录 摘要:解题思路: 1.利用结构体储存学生信息 2.利用malloc 申请内存空间 3.利用指针people 遍历内存信息并输出注…… 题解列表 2023年12月14日 0 点赞 0 评论 120 浏览 评分:9.9
C语言--study||O.o 摘要:参考代码:include<stdio.h> struct student { char number[20]; char name[10]; int subject1…… 题解列表 2024年01月22日 0 点赞 0 评论 144 浏览 评分:9.9
没有写input和print函数 摘要:解题思路:注意事项:参考代码:#include#includetypedef struct { char name[10]; char number[10]; int grade[3…… 题解列表 2024年02月23日 0 点赞 0 评论 166 浏览 评分:9.9
编写题解 1050: [编程入门]结构体之成绩记录 摘要:```java import java.util.Scanner; public class Main { public static void main(String[] args…… 题解列表 2024年03月08日 0 点赞 0 评论 347 浏览 评分:9.9
还算还算还算清晰 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void input();void print();struct student{ char number[100]; ch…… 题解列表 2024年03月17日 0 点赞 0 评论 144 浏览 评分:9.9
结构体之成绩记录-题解超简单(Python代码) 摘要:join()函数: 语法:sequence.join(string) sequence -> 用于连接的字符 string -> 字符串序列 描述:将序列中的元素以指…… 题解列表 2024年03月17日 0 点赞 0 评论 208 浏览 评分:9.9
高级无磨损 崭新出厂 摘要:解题思路:注意事项:可以把成绩定义成int型参考代码:#include <stdio.h>struct Student{ char num[20]; char name[20]; float scor…… 题解列表 2024年04月02日 0 点赞 0 评论 194 浏览 评分:9.9
超简洁代码,结构体之成绩记录 摘要:解题思路:注意事项:参考代码:n = int(input()) # 定义一个空二维列表,用以存放输入数据 my_str = [[]] * n # 输入指定n组数据 for i in range…… 题解列表 2024年05月04日 0 点赞 0 评论 212 浏览 评分:9.9
编写题解 1050: [编程入门]结构体之成绩记录 摘要:```c #include struct Student{ char num[20]; char name[20]; int scores[3]; }student…… 题解列表 2024年05月27日 0 点赞 0 评论 139 浏览 评分:9.9
主打简洁,现有有N个学生的数据记录,每个记录包括学号、姓名、三科成绩 摘要:解题思路:输入,开辟存储空间,输入,输出注意事项:注意struct里的string类型不可以使用malloc开辟,需要new创建,所以结构体这里使用了数组,而不是string;参考代码:#includ…… 题解列表 2024年06月13日 0 点赞 0 评论 329 浏览 评分:9.9