Skip to content

Commit 91e9f2d

Browse files
Variables & Data Types
1 parent 70dee26 commit 91e9f2d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

3.Variables_and_data_types/Total.java

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
public class Total {
2+
public static void main(String args[]) {
3+
int x=10;
4+
int y=25;
5+
int z=63;
6+
int sum=x+y+z;
7+
8+
System.out.println("Sum of x+y+z = " + sum);
9+
}
10+
}

0 commit comments

Comments
 (0)