斜率计算 (C语言代码) 摘要:注意事项:结果是整数,懒得改了#include<stdio.h>int main(){ float x1,x2,y1,y2; scanf("%f%f%f%f",&x1,&y1,&x2,&y…… 题解列表 2017年12月07日 1 点赞 0 评论 5698 浏览 评分:5.2
新生舞会 (C语言代码) 摘要:#include<stdio.h>#include<string.h>struct student { char name[21]; char num[11]; char sex[2]; }; …… 题解列表 2017年12月07日 0 点赞 0 评论 1312 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.4 (C语言代码) 摘要:解题思路:注意事项:一定要细心!参考代码:#include <stdio.h>void test();int i,j, arr[3][3];int main(){ for( i=0; i<3; i++…… 题解列表 2017年12月07日 0 点赞 0 评论 947 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.3 (C语言代码) 摘要:解题思路:注意事项:一定要细心!参考代码:#include <stdio.h>int test(int a);int main(){ int a=7; scanf("please intput a n…… 题解列表 2017年12月07日 0 点赞 0 评论 778 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.2 (C语言代码) 摘要:解题思路:注意事项:一定要细心!参考代码:#include <stdio.h>#include <math.h>int test1(double a,double b,double c){ doubl…… 题解列表 2017年12月07日 0 点赞 0 评论 1204 浏览 评分:0.0
WU-字符串比较 (C++代码) 摘要: 直接调用c++特性string 流来解决问题参考代码:#include<iostream> #include<cstring> using namespace std; int main()…… 题解列表 2017年12月07日 3 点赞 0 评论 1173 浏览 评分:6.0
最长字符串 (C语言代码) 摘要:#include<stdio.h>int len(char *arr){ int i=0; for(;arr[i]!='\0';i++); return i;}int main(){ …… 题解列表 2017年12月07日 0 点赞 0 评论 1167 浏览 评分:0.0
特殊的数字四十 (C语言代码) 摘要:#include<stdio.h>int main(){ int i,sum; for(i=1000;i<10000;i++) if((i/1000+i/100%10+i/10%10+i%10)==…… 题解列表 2017年12月07日 0 点赞 0 评论 1377 浏览 评分:0.0
确定元音字母位置 (C语言代码) 摘要:#include<stdio.h>int pangduan(char a[100]){ int i; for(i=0;a[i]!='\0';i++) if(a[i]==…… 题解列表 2017年12月07日 0 点赞 0 评论 1568 浏览 评分:0.0
薪水计算 (C语言代码) 摘要:#include<stdio.h>int main(){ int n; float a,m; scanf("%d %f",&n,&m); if(n<40) a=n*m; …… 题解列表 2017年12月07日 0 点赞 0 评论 1546 浏览 评分:0.0