[编程入门]利润计算-题解(Java代码) 摘要:注意事项: 输出的是整数,需要将计算结果强制类型转换 参考代码: ```java import java.util.Scanner; /** * https://www.d…… 题解列表 2019年07月30日 0 点赞 0 评论 933 浏览 评分:4.0
[编程入门]利润计算-题解(Python代码) 摘要:#法一 a = int(input()) if a100000 and a200000 and a400000 and a600000 and a…… 题解列表 2020年03月22日 0 点赞 1 评论 1261 浏览 评分:4.0
利用Java实现利润计算程序 摘要:解题思路:注意事项:参考代码:import java.util.*;public class Main { public static void main(String[] args) { Scan…… 题解列表 2022年01月26日 0 点赞 0 评论 574 浏览 评分:3.0
C语言程序设计教程(第三版)课后习题5.8 (C语言代码) 摘要:#include<stdio.h> int main() { int a,b; scanf("%d",&a); if (a<=100000) b=a*0.1; …… 题解列表 2017年06月30日 0 点赞 0 评论 1130 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.8 (C语言代码) 摘要:#include<stdio.h> int main(void) { int n; int money; scanf("%d",&n); if(n<=100000) money=n/10…… 题解列表 2017年07月02日 5 点赞 2 评论 1011 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.8 (C语言代码) 摘要:import java.util.Scanner;public class Main { public static int wage(int a){ if…… 题解列表 2017年07月04日 0 点赞 0 评论 1106 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.8 (C语言代码) 摘要:#include<stdio.h>int main(){ int a,t; scanf("%d",&a); switch(a/100000){ case 0: …… 题解列表 2017年07月04日 0 点赞 0 评论 949 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int x,s; scanf("%d",&x); if(x>0 && x<=100000) { …… 题解列表 2017年07月12日 0 点赞 0 评论 886 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.8 (C语言代码) 摘要:解题思路:简单的if和else解决方案注意事项: 利润太大的时候 有些编译器 int型不能读取这么大的数字参考代码:#include"stdio.h"int main(){ long I; …… 题解列表 2017年07月18日 0 点赞 0 评论 996 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.8 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>int main(){ long long m; scanf("%lld",&m); if(m<=100000) …… 题解列表 2017年07月27日 1 点赞 0 评论 968 浏览 评分:0.0