The countdown

Report a typo

Given a program with commented code. Uncomment it so that the program outputs:

three! two! one!
go!
Write a program in Java 17
public class Main {

public static void main(String[] args) {
/*
System.out.print("three! ");
// System.out.print("two! ");
// System.out.println("one!");
// System.out.println("go!");
*/

System.out.println("go!");
}
}
___

Create a free account to access the full topic