Skip to content

Commit b0225b7

Browse files
Merge pull request seeditsolution#145 from mayank1140/patch-1
mayank
2 parents c2c0f9f + 9e63741 commit b0225b7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

commad

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
public class JavaExample{
2+
3+
public static void main(String[] args) {
4+
5+
int num1 = 10, num2 = 20, num3 = 7;
6+
7+
if( num1 >= num2 && num1 >= num3)
8+
System.out.println(num1+" is the largest Number");
9+
10+
else if (num2 >= num1 && num2 >= num3)
11+
System.out.println(num2+" is the largest Number");
12+
13+
else
14+
System.out.println(num3+" is the largest Number");
15+
}
16+
}

0 commit comments

Comments
 (0)