Java Java Basics Perfecting the Prototype Conditional ints

What's wrong?

The task is: "Add an if statement to see if there are less than 4 people. Then write out to the console, “Your table is ready”" I'm not sure why it is the wrong answer?

Conditional.java
int numberOfPeople = 3;

if (numberOfPeople < 4) {

console.printf("Your table is ready.\n");

1 Answer

You're missing a close curly brace at the end }