import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String [] man = new String[3];
for(int i=1;i<4;i++){
man[i] = br.readLine();
}
int [] y = new int[3];
for(int i=1;i<4;i++){
y[i] = Integer.parseInt(man[i]);
}
for(int i=1;i<4;i++){
System.out.print(y[i]);
while(i<3){
System.out.print('/');
}
}
}
}
/*
エラー内容
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException:
年と日付を一度にスペースで区切りをつけて代入する条件です
よろしくお願いします
*/
回答4件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。