题解列表
求输入数据的绝对值C++
摘要:解题思路:基础注意事项:注意细节部分参考代码:#include<stdio.h>int main(){ double a,b;; while(scanf("%lf",&a)!=EOF) { if(a……
求长方形正方形的面积和周长
摘要:解题思路:通过公式求解注意事项:基本知识的应用参考代码:#include<stdio.h>int main(){ int a,b,C,S; scanf("%d%d",&a,&b); C=2*a+2*b……
三位数的分解,多位数同理
摘要:解题思路:分解出多位数的个个数注意事项:基础知识的应用参考代码:#include<stdio.h>int main(){ int a,b,c,d; scanf("%d",&a); printf("%d……
分类计算,入门解答,简单易懂(C++)
摘要:解题思路:把题目读清楚,然后通过分类if,else求解注意事项:基础知识的应用和把握参考代码:#include<stdio.h>int main(){ int a,b,c,d; scanf("%d%d……
[入门]用if-elif-else找出a,b,c中找出最大值------Python
摘要:解题思路:a>b时比较a>c成立时a大否则c大,a>b不成立时判断b>c成立时b大否则c大注意事项:参考代码:a,b,c=map(int,input().split())if a>b: if a……
2001,好懂的方法
摘要:解题思路:勾股定理注意事项:或字符参考代码:#include <stdio.h>#include <math.h>int main(){ int a,b,c; scanf("%d%d%……
打印图案,简单易懂(C++)
摘要:解题思路:要什么图案就先找好注意事项:空格的输入,基础知识的应用参考代码:#include<stdio.h>int main(){ printf(" *\n"); printf(" * *\n");……
1954 666cyuyan C语言
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int m;float n; scanf ("%d",&m); n=50+0.4*m; printf ("%……