Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
exp5
//'main' method must be in a class 'Rextester'. //openjdk version '11.0.5' //pavithra 7060 import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { Scanner in=new Scanner(System.in); int a=in.nextInt(); int b=in.nextInt(); int c=in.nextInt(); if(a>=b) { if(a>=c) { System.out.println(a+"is the largest number"); } else { System.out.println(c+"is the largest number"); } } else { if(b>=c) { System.out.println(b+"is the largest number"); } else { System.out.println(c+"is the largest number"); } } } }
run
|
edit
|
history
|
help
0
apple1
your age
java.
Find if a String2 is substring of String1
Coding Numbers - Duplicate - HashSet
webPage to string
Bbs
Rabbits in forest (leetod)
Equal_HashCode_TEST --- imporatnt concept about hashing
Dollar. java