Skip to content
Snippets Groups Projects
Commit 8d95102f authored by VeronikaAnya's avatar VeronikaAnya
Browse files

laba2

parent 9b795a14
Branches master
No related tags found
No related merge requests found
import java.util.Scanner;
public class HelloWorld{
public static void main(String []args){
System.out.println("Hello World");
int x = 10;
String students = "Anya and Veronika";
System.out.println("x=" + x + " students: " + students);
Scanner input = new Scanner(System.in);
String s = input.nextLine();
System.out.println(s);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment