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