Created
October 29, 2017 09:29
-
-
Save ayyucedemirbas/2f79d6fa51e658b4da6244ee818e2127 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
| package sirala; | |
| import java.util.*; | |
| public class Sirala { | |
| public static void main (String[] args) { | |
| //int bir = 'k', iki= 'j', uc = 'q'; | |
| Scanner enter= new Scanner(System.in); | |
| int x = enter.nextInt(); | |
| int y = enter.nextInt(); | |
| int z = enter.nextInt(); | |
| if (x>y&&x>z && y>z) | |
| { | |
| System.out.println("x>y>z"); | |
| } | |
| else if(x>y&&x>z&&z>y) | |
| { | |
| System.out.println("x>z>y"); | |
| } | |
| else if(y>x&&y>z&&x>z) | |
| { | |
| System.out.println("y>x>z"); | |
| } | |
| else if(y>x&&y>z&&z>x) | |
| { | |
| System.out.println("y>z>x"); | |
| } | |
| else if(z>x&&z>y&&x>y) | |
| { | |
| System.out.println("z>x>y"); | |
| } | |
| else if(z>x&&z>y&&y>x) | |
| { | |
| System.out.println("z>y>x"); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment