-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHelloWorld.java
More file actions
44 lines (40 loc) · 920 Bytes
/
HelloWorld.java
File metadata and controls
44 lines (40 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//rasaya
import java.lang.Math;
import java.util.Scanner;
public class HelloWorld
{
public static void main(String[]args)
{
/*System.out.println("Hello worl d");
System.out.println(1+2+3);
String t;
t = "Thita";
int q=50;
System.out.println(q);
System.out.println(t);
*/
int owen = 123;
System.out.println(owen);
owen = owen+321;
System.out.println(owen);
long miw = 12333333333L;
System.out.println(miw+owen);
String a = Integer.toString(20);
System.out.println(a);
System.out.println(owen+"test");
int thitapan = 789;
String xoxo = ""+thitapan;
System.out.println(xoxo);
System.out.println("-----------");
System.out.println(7.0/2.0);
System.out.println((int) (7.0/2.0));
double x = 7.0/2.0;
System.out.println((int) x);
x += 2;
System.out.println(x);
//end
Scanner kb = new Scanner(System.in);
int j = kb.nextInt();
Car u = new Car();
}
}