编程语言
首页 > 编程语言> > 郑州轻工业大学OJ:java1008

郑州轻工业大学OJ:java1008

作者:互联网

import java.util.Scanner;
public class Main {
public static void main(String[] args) {
double a;
double b;
Scanner in=new Scanner(System.in);
a=in.nextInt();
b=a*6.5573;
System.out.println(String.format("%.2f", b));
}

}

标签:%.,Scanner,double,System,String,轻工业,java1008,public,OJ
来源: https://blog.csdn.net/weixin_45065220/article/details/91126107