Skip to content

Commit d9152a2

Browse files
authored
Create Add Number
1 parent d4f6b3d commit d9152a2

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Add Number

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
public class AddTwoNumbers {
2+
3+
public static void main(String[] args) {
4+
5+
int num1 = 5, num2 = 15, sum;
6+
sum = num1 + num2;
7+
8+
System.out.println("Sum of these numbers: "+sum);
9+
}
10+
}

0 commit comments

Comments
 (0)