It shows me good result but I also see task is not complited.
Somebody knows why? :)
package pl.codegym.task.task04.task0420;
/*
Sortowanie trzech liczb
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
int c = scanner.nextInt();
if(a>b && a>c && b>c )
System.out.print(a+" "+b+" "+c);
else if(a>b && a>c && c>b)
System.out.print(a+" "+c+" "+b);
else if(b>a && b>c && a>c)
System.out.print(b+" "+a+" "+c);
else if(b>a && b>c && c>a)
System.out.print(b+" "+c+" "+a);
else if(c>a && c>b && b>a)
System.out.print(c+" "+b+" "+a);
else if(c>a && c>b && a>b)
System.out.print(c+" "+a+" "+b);
}
}