Created
March 1, 2021 12:39
-
-
Save Alkimisti/719818fc66bb280dbac7caeae8bbacbe 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
import java.util.Scanner; | |
public class ScannerExample { | |
public static void main(String[] args) { | |
Scanner scanner = new Scanner(System.in); | |
System.out.println("Shëno emrin:"); | |
String emri = scanner.nextLine(); | |
System.out.println("Ti quhesh " + emri); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment