Skip to content

Commit

Permalink
sum of two nums
Browse files Browse the repository at this point in the history
  • Loading branch information
SadineniAbhi committed Oct 3, 2023
1 parent b2b03d3 commit 025e725
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions SumNums.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class SumNums{
public void sum(){
int a,b,c;
a = 10;
b = 20;
c = a+b;
System.out.println(c);
}
public static void main(String[] args) {
SumNums s = new SumNums();
s.sum();
}
}

0 comments on commit 025e725

Please sign in to comment.