C语言程序设计教程(第三版)课后习题6.10 (C语言代码) 摘要:#include <stdio.h> int main() { int n,i,sum,t=1; scanf("%d",&n); for(i=n;i>1;i--) //…… 题解列表 2017年11月20日 1 点赞 0 评论 707 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.9 (C语言代码) 摘要:#include <stdio.h> int main() { int m,n,i; float s,h=0; //s,h分别是挑起的高度跟总的距…… 题解列表 2017年11月20日 2 点赞 2 评论 575 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言描述if-else if语句) 摘要:解题思路:1.定义x为整型,函数f定义为double类型;2.要导入数学函数库"math.h";3.if……else if语句做判断。注意事项:输出时控制两位小数输出("%.2lf")参考代码:#in…… 题解列表 2017年11月20日 1 点赞 0 评论 1415 浏览 评分:6.0
管理学院的人数 (Java代码) 摘要:解题思路:使用scanner方法 写入输入数据注意事项:参考代码:import java.util.Scanner;public class Main { public static voi…… 题解列表 2017年11月20日 0 点赞 0 评论 741 浏览 评分:0.0
计算质因子 (Java代码) 摘要:解题思路:注意事项:eclipse运行结果正常,但是COPY到网站中显示结果错误参考代码: public static void main(String[] args) { Sca…… 题解列表 2017年11月20日 0 点赞 0 评论 1029 浏览 评分:2.4
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:#include<stdio.h>int main(){ printf("*************\n"); printf("hallo world!!\n"); printf("…… 题解列表 2017年11月20日 0 点赞 0 评论 753 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路a注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; printf("qingshuru\n"); scanf("%d…… 题解列表 2017年11月20日 0 点赞 0 评论 820 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c;while(~scanf("%d%d",&a,&b)c=a*b;printf("%d",c);…… 题解列表 2017年11月20日 0 点赞 0 评论 692 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:用字符串来解题,将整数的每一位看成字符注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char a[5]; …… 题解列表 2017年11月19日 0 点赞 0 评论 665 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.8 (C语言代码) 摘要:#include <stdio.h> int main() { int t,i,n; float sum=0,a=2.0,b=1.0; scanf("%d",&n); for(i=…… 题解列表 2017年11月19日 1 点赞 0 评论 951 浏览 评分:0.0