题解列表
[编程入门]密码破译
摘要:解题思路:注意事项:参考代码:#include"stdio.h"int main(){ char c1,c2,c3,c4,c5; c1='C'; c2='h'; c3=……
字符转换为数字入门必看
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#include<string.h>
int main ()
{
char a[11];
int i,sum =0,av……
计算两点间的距离简单明了
摘要:解题思路:利用两点间的距离公式求解。注意事项:无参考代码:#include<stdio.h>#include<math.h>int main(){ int x1,y1,x2,y2; int t1,t2……
题解 1224: 整除的尾数
摘要:参考代码:#include<stdio.h>#include<string.h>int main(){ int x,y; while(scanf("%d%d",&x,&y)!=EOF){ ……
[编程入门]自定义函数之字符提取-题解(C语言代码)(简便)
摘要:解题思路:定义三字符数组,在第一个输入的数组中判断字符串中是否有第三组的元音字母,如果有则输入第二个数组。最后调用输出即可。注意事项:遇'\0'结束,strlen()长度从1开始的参考……
编写题解 1955: 贷款计算(c语言代码)
摘要:```c
#include
int main()
{
double a,b,c;
int s;
scanf("%lf%lf%lf",&a,&b,&c);
s=a*10000/c+a*10……
编写题解 1954: 话费计算
摘要:#```c
#include
int main()
{
float x;
scanf("%f",&x);
printf("%.1f",50+x*0.4);
……
编写题解 1172: 计算两点间的距离
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#include<math.h>
int main()
{
double x1,x2,y1,y2,a,b;
while(……