We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c2c0f9f + 9e63741 commit b0225b7Copy full SHA for b0225b7
commad
@@ -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