Java Java Basics Perfecting the Prototype Conditional ints

how to get out of if block

Inside your if block, after printing, exit the program. what should i do
int numberOfPeople;
if (numberOfPeople<4)
  console.printf("hey your table is ready");


1 Answer

Sean T. Unwin
Sean T. Unwin
28,652 Points

Check the preceding video starting at the 4:00 minute mark. :wink: