Stuck in 7/11 help pls!


Messages: The if block should be skipped and the contents of the else block should be printed to the console.

public class IfElse {
	public static void main(String[] args) {

		if (7==8) {

			System.out.println("Try again...");

		} else {




make some space between numbers and equal sign
working code :


dont change else block statement

what was that before? i think it was


so try this :slight_smile:


Thanks a lot I passed it after I reset it


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.