比如说:
周** 24 13
方** 25415 546458
廖** 145 54456654
即从开始每一列都要对齐!!!
public class StudentInformation
{
public static void main (String[] args)
{ System.out.println ("name hometown major");
System.out.println("==== ===== =====");
System.out.println("Sally Roanoke Computer Science");
System.out.println("Alexander Washinggton Math") ;
System.out.println("Student 1 Sometown Some Major");
System.out.println("Name 2 Another Town A Major");
System.out.println("Name3 somewhere Some Major");
}
}这是我编写的代码,但是输不出那种效果
!!!!