what 's the error in my code? can anyone please help me?
package com.codegym.task.task04.task0420;
/*
Sorting three numbers
*/
import java.io.*;
import java.util.Scanner;
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){
if( b >= c){
System.out.println(a + " " + b + " " + c );
}
else {
System.out.println(a + " " + c + " " + b );
}
}
if(b >= a && b >= c) {
if( a >= c){
System.out.println(b + " " + a + " " + c );
}
else {
System.out.println(b + " " + c + " " + a );
}
}
else {
if(a >= b){
System.out.println(c + " " + a + " " + b );
}
else {
System.out.println(c + " " + b + " " + a );
}
}
}
}