1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:#include <math.h> #include <stdio.h> int main() { double a, b, c; double x1, …… 题解列表 2022年12月31日 0 点赞 0 评论 343 浏览 评分:0.0
2760: 整型与布尔型的转换(细节) 摘要:####这样写,在编译器上能过,但提交后会显示编译错误 ```c #include int main() { int a,b; bool c; scanf("%d",&a); …… 题解列表 2023年01月01日 1 点赞 0 评论 794 浏览 评分:0.0
C语言训练-求矩阵的两对角线上的元素之和 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int arr[100][100]; int n,i,j; int sum…… 题解列表 2023年01月01日 0 点赞 0 评论 354 浏览 评分:0.0
C语言训练-邮票组合问题* 摘要:解题思路:注意事项:参考代码: #include<stdio.h> int main() { printf("19"); return 0; }…… 题解列表 2023年01月01日 0 点赞 0 评论 387 浏览 评分:0.0
二级C语言-自定义函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> double fact(long long n); double my_pow(double …… 题解列表 2023年01月01日 0 点赞 0 评论 422 浏览 评分:0.0
[编程入门]结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct Student { char num[20]; char name[10]; doubl…… 题解列表 2023年01月01日 0 点赞 0 评论 366 浏览 评分:0.0
编写题解 2828: 与7无关的数 摘要:解题思路:注意事项:参考代码://编写题解 2828: 与7无关的数 //一个正整数,如果它能被7整除,或者它的十进制表示法中某一位上的数字为7,则称其为与7相关的数。现求所有小于等于n(n < 1…… 题解列表 2023年01月01日 0 点赞 0 评论 497 浏览 评分:0.0
利用for循环解决平均值计算 摘要:解题思路:以数组的方式输入一系列数,通过for循环求得平均数,再通过for循环计算大于平均数的个数。注意事项:符号的输入,数据的处理参考代码:#include<stdio.h>int main(){ …… 题解列表 2023年01月01日 0 点赞 0 评论 652 浏览 评分:0.0
编写题解 1952: 求长方形面积 摘要:解题思路:注意事项:参考代码://输入一个长方形的长和宽(整数),输出该长方形的周长C和面积S,要求格式如例(请注意打印“C:”、“S:”,使用半角冒号,参考样例输出)。 #include <std…… 题解列表 2023年01月01日 0 点赞 0 评论 407 浏览 评分:0.0