C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d",&a,&b,&c); if(a>…… 题解列表 2018年03月31日 0 点赞 0 评论 778 浏览 评分:0.0
优质题解 Manchester- 首字母大写 摘要:解题思路:①:第一个字符是小写字母的话,转化为大写字母②:之后,若一个字符为小写字母,并且它的前面一个字符为空白符,则把该小写字母转化为大写字母③:输出结果注意事项:第一个字符要单独判断一次,因为它是…… 题解列表 2018年03月31日 5 点赞 1 评论 4001 浏览 评分:9.6
幸运儿 (C语言代码) 摘要:解题思路:注意事项:参考代码://#include<iostream> #include<stdio.h> //using namespace std; int main() { int …… 题解列表 2018年03月31日 1 点赞 0 评论 1396 浏览 评分:0.0
蓝桥杯历届试题-分糖果 (雪枫大大叫SnowMapleQueen) 摘要:#include<iostream> using namespace std; int isSame(int a[],int n){ for(int i=1;i<n;i++) if…… 题解列表 2018年03月31日 2 点赞 0 评论 1119 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:主要是运用c的取余和除法,适用于五位一下的数,并不是固定的,不懂的地方再问注意事项:参考代码:#include<stdio.h>int main(){ int num,a; int inde…… 题解列表 2018年03月30日 0 点赞 0 评论 1102 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<string.h>int main(){ char str[1024]; char* p; int count1=0,count2=0,count3=0…… 题解列表 2018年03月30日 0 点赞 0 评论 1497 浏览 评分:0.0
优质题解 Manchester- 字符串的反码 摘要:解题思路:①:因为a的ascii码为97,z的ascii码为122,设输入的字符为x②:根据题目字符到a的距离与其反码到z的距离相等③:所以x的反码y='z'-(x-'a…… 题解列表 2018年03月30日 4 点赞 3 评论 1365 浏览 评分:9.0
C语言程序设计教程(第三版)课后习题6.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; int i; int S=0; printf("请输入n的值\n"); …… 题解列表 2018年03月30日 0 点赞 0 评论 968 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:原题链接:C语言程序设计教程课后习题5.7大致思路: * 对输入的数据做取余运算,在所取对应位的余数不为零时,输出位数、每位数的数值,及反序的数。 * 值得注意的是,要区分好逻辑关系,当输入的数大…… 题解列表 2018年03月30日 1 点赞 1 评论 1190 浏览 评分:8.0
Hello, world! (Java代码) 摘要:解题思路:看代码即可注意事项:参考代码: public static void main(String[] args){ Scanner sc=new Scanner(System.…… 题解列表 2018年03月30日 0 点赞 0 评论 1250 浏览 评分:0.0