Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.*;
- public class Main {
- public static void main(String[] args) throws Exception {
- //напишите тут ваш код
- BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
- String name = reader.readLine();
- String y1 = reader.readLine();
- String m1 = reader.readLine();
- String d1 = reader.readLine();
- int y = Integer.parseInt(d1);
- int m = Integer.parseInt(m1);
- int d = Integer.parseInt(y1);
- System.out.println();
- System.out.println("Меня зовут " + name + ".");
- System.out.println("Я родился " + y + "." + m + "." + d);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement