Java—格式化输出(常量练习)
Description
用c语言的基本输出格式打印下列内容:
100
A
3.140000
Input
本题目没有输入数据
Output
输出三行数据:
100
A
3.140000
Sample
Output
100
A
3.140000
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("100");
System.out.println("A");
System.out.println("3.140000");
}
}