while(true){ var input =system.stdin.readLine(); system.stdout.write(input); if(input == null) break; }
これを動かし
abcd
abcd
efgh
efgh
------- <-ここで終わらしたい
null <-ctrl+d
nullを表示させないで終わらせていのですがどこが間違っていますか?教えてください。
投稿2018/04/29 20:49
while(true){ var input =system.stdin.readLine(); system.stdout.write(input); if(input == null) break; }
これを動かし
abcd
abcd
efgh
efgh
------- <-ここで終わらしたい
null <-ctrl+d
nullを表示させないで終わらせていのですがどこが間違っていますか?教えてください。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。