郑州轻工业大学OJ:java1005
作者:互联网
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int a;
int b;
int c;
Scanner in=new Scanner(System.in);
a=in.nextInt();
b=in.nextInt();
c=in.nextInt();
System.out.printf("%-9d",a);
System.out.printf("%-9d",aa);
System.out.printf("%-9d",aaa);
System.out.println();
System.out.printf("%-9d",b);
System.out.printf("%-9d",bb);
System.out.printf("%-9d",bbb);
System.out.println();
System.out.printf("%-9d",c);
System.out.printf("%-9d",cc);
System.out.printf("%-9d",cc*c);
}
}
标签:OJ,int,System,9d,nextInt,轻工业,java1005,printf,out 来源: https://blog.csdn.net/weixin_45065220/article/details/91126096