herrDeng網內搜尋
自訂搜尋
Ads
訂閱:
張貼留言 (Atom)
熱門文章
-
計算你上學期加權平均
-
輸出字串20次
-
用 while loop 算 s=3*3+4*4+....88*88
-
輸出課表代碼矩陣 Hint: 2-D array, double-for loop
-
請用C/C++ 程式計算 S=1*1+2*2+3*3+4*4+.....+20*20=?
-
請簡易說明Bitmap, Sleep的使用方式 請參考 https://anwendeng.blogspot.com/2020/03/visual-studio-2019-cwindows-formbitmap.html https://anwendeng.blogsp...
-
統計第一作業 2, 3, 8, 9
-
算n!用while-loop
9 則留言:
import java.util.*;
public class scannerDotNextLine {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int i=input.nextInt();
System.out.println("輸入i="+i);
String s=input.nextLine();
s=input.nextLine();//修改部分
System.out.println("輸入字串s="+s);
}
}
import java.util.*;
public class scannerDotNextLine {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int i=input.nextInt();
System.out.println("輸入i="+i);
String s=input.nextLine();
s=input.nextLine();//修改部分
System.out.println("輸入字串s="+s);
}
}
import java.util.*;
public class scannerDotNextLine {
public static void main (String[] args) {
Scanner input=new Scanner(System.in);
int i=input.nextInt();
System.out.println("輸入i="+i);
String s=input.nextLine();
s=input.nextLine();
System.out.println("輸入字串s="+s);
}
}
import java.util.*;
public class scannerDotNextLine {
public static void main (String[] args) {
Scanner input=new Scanner (System.in);
int i=input.nextInt();
System.out.println("輸入i="+i);
String s=input.nextLine();
s=input.nextLine();
System.out.println("輸入字串s="+s);
}
}
import java.util.*;
public class scannerDotNextLine {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int i=input.nextInt();
System.out.println("輸入i="+1);
String s=input.nextInt();
s=input.nextInt();
System.out.println("輸入字串s="+s);
}
}
import java.util.*;
public class scannerDotNextLine{
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int i=input.nextInt();
System.out.println("輸入i="+i);
String s=input.nextLine();
s=input.nextLine();
System.out.println("輸入字串s="+s);
}
}
import java.util.*;
public class scannerDotNextLine{
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int i=input.nextInt();
System.out.println("輸入i="+i);
String s=input.nextLine();
s=input.nextLine();
System.out.println("輸入字串s="+s);
}
}
import java.util.*;
public class scannerDotNextLine {
public static void main (String[] args) {
Scanner input=new Scanner(System.in);
int i=input.nextInt();
System.out.println("輸入i="+i);
String s=input.nextLine();
s=input.nextLine();
System.out.println("輸入字串s="+s);
}
}
import java.util.*;
public class scannerDotNextLine{
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int i=input.nextInt();
System.out.println("輸入i="+i);
String s=input.nextLine();
s=input.nextLine();
System.out.println("輸入字串s="+s);
}
}
張貼留言