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); }
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);
}
}
張貼留言