题解列表
C语言程序设计教程(第三版)课后习题8.6 (C++代码)
摘要:解题思路:注意事项:参考代码:#include <iostream>#include <string>#include <cstdio>using namespace std;int main(){ ……
Manchester- C语言程序设计教程(第三版)课后习题10.5(公式法)
摘要:解题思路:根据公式直接求解注意事项:参考代码:#include <stdio.h>
int M = 3;
int main()
{
int n, s = 0;
scanf(……
大哥们我这为什么不行啊。。。。。
摘要:解题思路:看你们都用字符转换,新手感到很慌。。注意事项:参考代码:#include<stdio.h>int v(int n){ int x,y; x=y=n; x/=10; y%=10; if((x-……
薪水计算 (C语言代码)
摘要:#include<stdio.h>int main(){ int n; float a,m; scanf("%d %f",&n,&m); if(n<40) a=n*m; ……
确定元音字母位置 (C语言代码)
摘要:#include<stdio.h>int pangduan(char a[100]){ int i; for(i=0;a[i]!='\0';i++) if(a[i]==……
特殊的数字四十 (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)==……
最长字符串 (C语言代码)
摘要:#include<stdio.h>int len(char *arr){ int i=0; for(;arr[i]!='\0';i++); return i;}int main(){ ……
C语言程序设计教程(第三版)课后习题8.2 (C语言代码)
摘要:解题思路:注意事项:一定要细心!参考代码:#include <stdio.h>#include <math.h>int test1(double a,double b,double c){ doubl……
C语言程序设计教程(第三版)课后习题8.3 (C语言代码)
摘要:解题思路:注意事项:一定要细心!参考代码:#include <stdio.h>int test(int a);int main(){ int a=7; scanf("please intput a n……