Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- import java.io.Console;
- public class Main {
- public static void main(String[] args) {
- String name;
- Console con =System.console();
- name=con.readLine("Введите свое имя: ");
- System.out.println("добро пожаловать, " + name);
- // write your code here
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement