Created
August 29, 2017 07:22
-
-
Save mehtaparitosh/75da3289a32d31dc42e8229130378e3f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.util.*; | |
/** | |
* | |
* @author Paritosh Mehta | |
*/ | |
public class largest { | |
public static void main(String args[]){ | |
Scanner sc = new Scanner(System.in); | |
int largest = sc.nextInt(); | |
int b = sc.nextInt(); | |
int c = sc.nextInt(); | |
if (largest<b) | |
largest = b; | |
if (largest<c) | |
largest =c; | |
System.out.println(largest); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment