题解 1954: 话费计算

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

筛选

话费计算的解题方法

摘要:解题思路:月租加通话费用;注意事项:参考代码:#include <stdio.h>int main(){ int n; float sum; scanf("%d",&n); sum=50+n*0.4;……

1954-话费计算,简单易懂(C++)

摘要:解题思路:列出关于通话分钟和话费的函数,进行求解注意事项:基础知识的应用参考代码:#include<stdio.h>int main(){ int x; float y; scanf("%d",&x)……

1954 666cyuyan C语言

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

简单代码易理解

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

1954: 话费计算

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

话费计算-题解(C语言代码)

摘要:解题思路:定义一个整数作为通话时长,将这个整数乘以0.4加上50即可。注意事项:要注意保留一位小数。参考代码:#include int main() {     int x;     scan……