Call me awesome

Report a typo

Here's the method callMeAwesome. Write the invocation of this method in the template below.

Sample Input 1:

Alice

Sample Output 1:

Alice, you're awesome!
Write a program in Java 17
import java.util.Scanner;

public class Main {

public static void main(String[] args) {
// call the method here
}

// Do not change code below
public static void callMeAwesome() {
Scanner scanner = new Scanner(System.in);
String name = scanner.next();
System.out.println(name + ", you're awesome!");
}
}
___

Create a free account to access the full topic