練習問題2 小澤
This commit is contained in:
@@ -13,7 +13,8 @@ public class StringCheck {
|
||||
|
||||
System.out.println("いまなにしてる?");
|
||||
Scanner scanner = new Scanner(System.in);
|
||||
String str = scanner.next();
|
||||
String text = scanner.next();
|
||||
String str = text.strip();
|
||||
System.out.println(str);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user