HelloWorld程序(c++) 摘要:解题思路:运用\n一排写完或写三排注意事项:是反斜杠(\)不是斜杠(除号"/")参考代码:#include<iostream>using namespace std;int main(){ cout<…… 题解列表 2021年11月07日 0 点赞 1 评论 309 浏览 评分:6.0
三个整数排序 条件运算符用法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max,min,m; scanf("%d%d%d",&a,&b,&c); max=a>b?a…… 题解列表 2021年11月07日 0 点赞 0 评论 655 浏览 评分:6.0
累加求和 for循环 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,sum=0,y; scanf("%d",&a); for (y=1;y<=a;y++) …… 题解列表 2021年11月07日 0 点赞 0 评论 542 浏览 评分:6.0
题解 1202: 多输入输出练习1 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ int b=1,c[100],d,e,i; while(sc…… 题解列表 2021年11月08日 0 点赞 0 评论 742 浏览 评分:6.0
关于老童给我们布置的那些作业 摘要:解题思路:本题利用了C语言中的if语句注意事项:记得在A,B,C,D,E后面都加入一个空格符号会比较好哦参考代码:#include<stdio.h> //预编译…… 题解列表 2021年11月09日 0 点赞 0 评论 434 浏览 评分:6.0
真的送分 很快乐 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { printf("yes\n"); return 0; } …… 题解列表 2021年11月10日 0 点赞 0 评论 309 浏览 评分:6.0
大写字母转小写字母 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char c; c=getchar(); c=c+32; printf("%c\…… 题解列表 2021年11月10日 0 点赞 0 评论 439 浏览 评分:6.0
利润计算C++程序解答 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double l; cin >> l; if (…… 题解列表 2021年11月11日 0 点赞 0 评论 511 浏览 评分:6.0
1000: [竞赛入门]简单的a+b题解 摘要:解题思路:使用cin,cout解题即可注意事项:注意头文件#include<iostream>参考代码:#include<iostream>using namespace std;int main()…… 题解列表 2021年11月11日 0 点赞 0 评论 507 浏览 评分:6.0
非常精简(C语言)。 摘要:解题思路:注意事项:当&&前面的n--等于零后就不会执行后面的输入。参考代码:#includeint main(){ int a,b,c,sum=0; scanf("%d",&a); …… 题解列表 2021年11月13日 0 点赞 0 评论 324 浏览 评分:6.0