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
epeenconverter
OurDate.java
MergeSort
calc exp gxb2
1.5
Split
Problem_OnOff
linkl
continue
palin