1010: [编程入门]利润计算
摘要:import java.io.*;
/**
* 一道 if 的简单题
*/
public class Main {
public static BufferedReade……
1010: [编程入门]利润计算
摘要:解题思路:注意事项:参考代码:#include <iostream>
using namespace std;
int main()
{
int n = 0, s = 0;
……
利润计算——简单思路
摘要:解题思路:if——else-if——else 语句 ;比较直接。注意事项:注意数字的大小参考代码:#include<stdio.h>int main(){ int x,y; scanf("……
利润计算(直接用if语句),没有什么操作的简单代码
摘要:解题思路:直接利用if语句注意事项:注意直接的思路,自己理好思路,有点麻烦而已。参考代码:#include <stdio.h>int main(){ int a = 0, b = 10000, ……
编写题解 1010: [编程入门]利润计算
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int M,result; scanf("%d",&M); if(M>=0 && M<=100000) resu……
那位大佬能帮我看一下哪里错了吗,为啥我在devc++上可以运行,答案还对了,然后复制来这就不对了,想哭了!
摘要:解题思路:那位大佬能帮我看一下哪里错了吗,为啥我在devc++上可以运行,答案还对了,然后复制来这就不对了,想哭了!注意事项:参考代码:#include<stdio.h>int main(){ int……
[编程入门]利润计算
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun(int x){ int a=100000; if(x<=a) { return 0.1*x; } else if(x<……