Created
June 6, 2019 13:37
-
-
Save BSDRock/cbbc11bfeea9ea348e979aefab220635 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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