Football club game score
This code displays the correct output, but for some reason it doesn't pass the test import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner read = new Scanner(System.in); boolean isSuspended = read.nextBoolean(); int ourScore = read.nextInt(); int theirScore = read.nextInt(); // your code goes here if (isSuspended == true){ System.out.println("Suspended"); } else { System.out.println("false"); } System.out.println(ourScore); System.out.println(theirScore); if (isSuspended != true && ourScore > theirScore){ System.out.println("Won"); } else if (isSuspended == true) { System.out.println("Suspended"); } if (ourScore < theirScore){ System.out.println("Lost"); } else if (ourScore == theirScore){ System.out.println("Draw"); } } }