C语言程序设计教程(第三版)课后习题9.1 (C语言代码) 摘要:/* 定义一个带参的宏,使两个参数的值互换,并写出程序,输入两个数作为使用宏时的实参。输出已交换后的两个值。 */ #include<stdio.h> #define CHANGE(A,B) …… 题解列表 2017年07月03日 0 点赞 0 评论 869 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.1 (C语言代码) 摘要:/* 定义一个带参的宏,使两个参数的值互换,并写出程序,输入两个数作为使用宏时的实参。输出已交换后的两个值。 */ #include<stdio.h> #define CHANGE(A,B) …… 题解列表 2017年07月03日 0 点赞 0 评论 927 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:/* 编写一函数,由实参传来一个字符串,统计此字符串中字母、数字、空格和其它字符的个数,在主函数中输入字符串以及输出上述结果。 只要结果,别输出什么提示信息。 */ #include<stdio…… 题解列表 2017年07月03日 3 点赞 1 评论 2130 浏览 评分:8.7
C语言程序设计教程(第三版)课后习题8.8 (C语言代码) 摘要:#include<stdio.h> #include<string.h> void f(int n); int main(void) { int n; scanf("%d",&n); …… 题解列表 2017年07月03日 0 点赞 0 评论 1003 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.7 (C语言代码) 摘要:#include<stdio.h> #include<string.h> void aeiuo(char s1[],char s2[]); int main(void) { char s1…… 题解列表 2017年07月03日 0 点赞 0 评论 899 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:#include<stdio.h> #include<string.h> void mystrcat(char s1[],char s2[]); int main(void) { char…… 题解列表 2017年07月03日 1 点赞 16 评论 1941 浏览 评分:9.5
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:#include<stdio.h> #include<string.h> void fun(char str[]); int main(void) { char str[100]; s…… 题解列表 2017年07月03日 0 点赞 0 评论 1508 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题8.4 (C语言代码) 摘要:方法一: #include<stdio.h> void fun(int a[][3]); int main(void) { int a[3][3]; int i , j; for(…… 题解列表 2017年07月03日 1 点赞 0 评论 1045 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.3 (C语言代码) 摘要:#include<stdio.h> int IsPrime(int n); int main(void) { int n; int flag; scanf("%d",&n); f…… 题解列表 2017年07月03日 0 点赞 0 评论 700 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.2 (C语言代码) 摘要:#include<stdio.h> #include<math.h> int main(void) { double a,b,c; double p,q; scanf("%lf%l…… 题解列表 2017年07月03日 10 点赞 3 评论 1903 浏览 评分:7.3