Skip to content

Instantly share code, notes, and snippets.

@BSDRock
Created June 6, 2019 13:37
Show Gist options
  • Save BSDRock/cbbc11bfeea9ea348e979aefab220635 to your computer and use it in GitHub Desktop.
Save BSDRock/cbbc11bfeea9ea348e979aefab220635 to your computer and use it in GitHub Desktop.
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
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment