Не смогу компилировать, самые последные строке красний подсвечивает вот здесь: (
else (f <= a && f <= b && f <= c && f <= d && a <= b && b <= c && c <= d){
return;
System.out.println(f + "/n" + a + "/n" + b + "/n" + c + "/n" + d);
}
package com.javarush.task.task06.task0622;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Числа по возрастанию
*/
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String aa = reader.readLine();
String bb = reader.readLine();
String cc = reader.readLine();
String dd = reader.readLine();
String ff = reader.readLine();
int a = Integer.parseInt(aa);
int b = Integer.parseInt(bb);
int c = Integer.parseInt(cc);
int d = Integer.parseInt(dd);
int f = Integer.parseInt(ff);
if (a <= b && a <= c && a <= d && a <= f && b <= c && c <= d && d <= f){
return ;System.out.println(a + "/n" + b + "/n" + c + "/n" + d + "/n" + f);}
else if (b <= a && b <= c && b <= d && b <= f && a <= c && c <= d && d <= f ){
return;
System.out.println(b + "/n" + a + "/n" + c + "/n" + d + "/n" + f);}
else if(c <= a && c <= b && c <= d && c <= f && a <= b && b <= d && d <= f){
return;
System.out.println(c + "/n" + a+ "/n" + b + "/n" + d + "/n" + f);}
else if (d <= a && d <= b && d <= c && d <= f && a <= b && b <= c && c <= f){
return;
System.out.println(d + "/n" + a + "/n" + b + "/n" + c + "/n" + f);}
else (f <= a && f <= b && f <= c && f <= d && a <= b && b <= c && c <= d){
return;
System.out.println(f + "/n" + a + "/n" + b + "/n" + c + "/n" + d);
}
//напишите тут ваш код
}
}