字符串比较 (C语言代码)答案错误???? 摘要:解题思路:字符数组存字符串,一个个比较,若有不同(大小)则输出并退出循环,最后全部比完,都到了最后"\0"位置则字符串相同注意事项:参考代码:#include <stdio.h>int main(){…… 题解列表 2017年09月18日 0 点赞 0 评论 806 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#incude <stdio.h>int main (){int a,b;while (1){scanf ("%d%d",&a,&b);printf("%d",a+b);…… 题解列表 2017年09月18日 0 点赞 0 评论 771 浏览 评分:0.0
C语言考试练习题_排列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int i,j,k,t; int a,b,c,d; scanf("%d%d%d%d",&a,&b,&c,&d…… 题解列表 2017年09月18日 0 点赞 0 评论 914 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:#include<stdio.h> int main(void){ printf("**************************\n"); printf("Hello World!\n…… 题解列表 2017年09月19日 0 点赞 0 评论 916 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int isprime(int n);int main(){ int m,n,i; int temp = 0; …… 题解列表 2017年09月19日 2 点赞 0 评论 990 浏览 评分:0.0
输出正反三角形 (C语言代码) 摘要:解题思路:注意事项:两个三角形前面的空格也与m的值有关参考代码:#include<stdio.h> int main(){ int m,n,i; scanf("%d %d",&n,&m); …… 题解列表 2017年09月19日 0 点赞 0 评论 1099 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("*****************\n"); printf("Hello World\n"); …… 题解列表 2017年09月19日 0 点赞 0 评论 873 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("*****************\n"); printf("Hello World!\n");…… 题解列表 2017年09月19日 0 点赞 0 评论 623 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码: #include<stdio.h>int main(){ int a,b; while(scanf(“%d%d”,&a,&b)==2) //利用scanf的…… 题解列表 2017年09月20日 3 点赞 1 评论 685 浏览 评分:0.0
P1001 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;const int M=10000;int a[M]={…… 题解列表 2017年09月20日 3 点赞 1 评论 932 浏览 评分:0.0