题解 1954: 话费计算

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

筛选

C++实现小数点控制

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

简单代码易理解

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

Ikaros-1954:话费计算

摘要:解题思路:简单的乘一下再加上保留1位数即可参考代码:number = int(input())print(round(50 + number * 0.4,1))……

1954: 话费计算

摘要:解题思路:注意事项:参考代码:a = int(input())s = 50 + a*0.4print("{:.1f}".format(s))……

话费计算的解题方法

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

话费计算Java超简单

摘要:解题思路:直接多少分中乘一下0.4就好了,他自己会加小数的注意事项:不要想麻烦了参考代码:package com.itheima;import java.util.Scanner;public cla……

1954: 话费计算

摘要:无脑输出。#include<iostream> using namespace std; int main() {     double a;     cin >> a;     prin……

题解 1954: 话费计算

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() {     int base = 50;     double min;     scanf("%lf……

1954 666cyuyan C语言

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