编写题解 1050: [编程入门]结构体之成绩记录 摘要: #include //#define N 100 struct score { char Id[10]; char Name[10]; int Engli…… 题解列表 2021年03月07日 0 点赞 0 评论 421 浏览 评分:9.9
结构体之成绩记录(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct student{ char id[20]; char name[20]; int…… 题解列表 2021年12月01日 0 点赞 0 评论 492 浏览 评分:9.9
1050: [编程入门]结构体之成绩记录(java代码) 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2021年12月19日 0 点赞 0 评论 500 浏览 评分:9.9
简洁明了的结构体之成绩记录 摘要:解题思路:注意事项:结构体中字符串赋值需要用到<string.h>库函数中的strcpy来赋值,主函数中的(struct student s[20];)用来定义结构体中的学生数目的数组,因为不确定输入…… 题解列表 2021年12月20日 0 点赞 0 评论 344 浏览 评分:9.9
结构体之成绩记录,绝对易懂,搞懂吸收空行知识点 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;//结构体之成绩记录//这道题刚开始的时候,我直接写的没有吸收空行,导致后面有数组越界的情况出现,然后我把数组的长度增大…… 题解列表 2022年01月18日 0 点赞 0 评论 412 浏览 评分:9.9
1050: [编程入门]结构体之成绩记录 摘要:解题思路:一开始想用class代替struct,但是没想好怎么建对象的数组,就用struct了,实际上用class好像思路也是一样的。注意事项:(1)strcpy()函数要加<cstring>头。(2…… 题解列表 2022年03月07日 0 点赞 0 评论 401 浏览 评分:9.9
结构体之成绩记录(Java语言) 摘要:解题思路:注意事项:参考代码:public static class student{ private String No=""; private String Name="";…… 题解列表 2022年03月20日 0 点赞 0 评论 279 浏览 评分:9.9
结构体之成绩记录(简易) 摘要:解题思路:根据题目样例,我们可以发现输入和输出差的是数之间的逗号,所以我们可以直接进行输出;(其实很想吐槽啊)注意事项:是英文逗号参考代码:#include<bits/stdc++.h>using n…… 题解列表 2022年05月01日 0 点赞 0 评论 372 浏览 评分:9.9
结构体-学生成绩录入 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h> struct Ymd{ char xh[50]; char name[50]; int a[3…… 题解列表 2022年05月16日 0 点赞 0 评论 243 浏览 评分:9.9
动态数组指针C语言题解 摘要:解题思路:注意事项:参考代码:#include<malloc.h>typedef struct student{ char num[100]; char name[100]; int…… 题解列表 2022年08月14日 0 点赞 0 评论 267 浏览 评分:9.9