题解 1954: 话费计算

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

简单输出易懂花费计算

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a,c; float b; a = 0.4; scanf("%f",&c); b = 50 + 0.……

编写题解 1954: 话费计算

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define p 50#define a 0.4int main(){ int n; float m; scanf("%d",&n);……

1954: 话费计算

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> using namespace std; int main() {     int n……

话费计算 c语言超简单

摘要:解题思路:如下注意事项:记得结果是浮点形式输出,并保留1位小数参考代码:#include<stdio.h>int main(){       float sum;    int min;    sca……

1954: 话费计算

摘要:解题思路:一个变量就够了注意事项:参考代码:#include <stdio.h> int main(){ float cost; scanf("%f",&cost); printf("%……

话费计算 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    double k,n;    scanf("%lf",&n);    k=50+0.4*n;    pri……