C语言 结构体+主函数一维数组 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct Student{ char name[30] ; //名字 int average ; //平均分…… 题解列表 2024年12月05日 0 点赞 0 评论 112 浏览 评分:0.0
如何用C语言结构体解决谁拿了最多奖学金 摘要:解题思路:用结构体代表学生的信息,通过函数得到每个学生的奖学金,在进行对比。注意事项:认真即可参考代码:#include <stdio.h>//定义结构体,totalbons是每个学生的奖学金。str…… 题解列表 2024年11月10日 0 点赞 0 评论 95 浏览 评分:0.0
谁拿了最多奖学金(用结构体解题) 摘要:解题思路:看到题目有这么多的属性,说明结构体解题更容易些注意事项:参考代码:#include<stdio.h> #include<string.h> struct student { …… 题解列表 2023年10月13日 0 点赞 0 评论 79 浏览 评分:0.0
谁拿了最多奖学金——C语言结构体 摘要:#include<stdio.h> #include<stdlib.h> struct S { char name[20]; int score; int total; char…… 题解列表 2023年03月22日 0 点赞 0 评论 113 浏览 评分:9.9
顺序查找之谁拿了最多奖学金 摘要:```c #include int main() { char name[100][21], ganbu[100], xibu[100]; int num, qimo[100], ban…… 题解列表 2023年01月19日 0 点赞 0 评论 234 浏览 评分:9.9
废物的结构体 摘要:解题思路:注意事项:参考代码#include<stdio.h>#include<string.h>struct jxj{ char name[20]; int grade; int ban; …… 题解列表 2022年12月10日 0 点赞 0 评论 246 浏览 评分:9.9
编写题解 2904: 谁拿了最多奖学金 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>struct student{ char name[20]…… 题解列表 2022年10月26日 0 点赞 0 评论 107 浏览 评分:0.0
编写题解 2904: 谁拿了最多奖学金 C 摘要:解题思路:输入-几个条件判断-输出注意事项:name在定义的时候,要注意字符串的长度,将其定义为一个二维数组参考代码:#include<stdio.h>#include<string.h>int ma…… 题解列表 2022年10月22日 0 点赞 0 评论 438 浏览 评分:9.9