返回列表 發帖
  1. public class Ch01 {

  2.         public static void main(String[] args) {
  3.                 String str1="dog", str2="cat";
  4.                 int a=3,b=5;
  5.                 double total=21.3568;
  6.                 System.out.printf("There are %d %s and %d %Ss totally weigh %.2f pounds",a,str1,b,str2,total);
  7.         }
  8. }
複製代碼
巨槌瑞斯!!!誇爪!!!哈哈哈哈!!!
還敢下來阿冰鳥

TOP

返回列表