利用if进行分类简单易懂
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; float p; scanf("%d",&n); if(n<=100000) { p=n*0.……
1010: [编程入门]利润计算
摘要:解题思路暴力解决注意事项:参考代码:#include<stdio.h>int main(){ float x,y; scanf("%f",&x); if(x<=100000) y=x*0.1; els……
[编程入门]利润计算-最简单无脑的题解(C语言代码)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,t; scanf("%d",&a); if(a<=100000) t=a*0.1……
只学第六章的菜鸟,数组还不会,学了3天
摘要:解题思路:非常基础,注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,e,f; scanf("%d", &a); b=100000……
1010: [编程入门]利润计算
摘要:解题思路:利用case进行累加注意事项:每次累加后,利润profit更新为被减数参考代码:#include <stdio.h>int main(){ int profit; //当月利润 int bo……
[编程入门]利润计算-题解(C++代码)
摘要:解题思路:用if,else;注意事项:else后面不加条件参考代码:#include<iostream>using namespace std;int main (){ int n; cin >> n……
利润计算C语言代码答案
摘要:## 题目
** 企业发放的奖金根据利润提成。利润低于或等于100000元的,奖金可提10%;**
** 利润高于100000元,低于200000元(100000……
[编程入门]利润计算-题解(Python代码)
摘要:I = int(input())if I <=100000: I = I*0.1 print(int(I))elif 100000< I <=200000: I = 100000*0……
[编程入门]利润计算-题解(C语言代码)
摘要:```c
#include
int main(void)
{
float n;
scanf("%f",&n);
if(n100000&&n200000&&n40000……