Here's the method callMeAwesome. Write the invocation of this method in the template below.
Calling methods
Call me awesome
Report a typo
Sample Input 1:
AliceSample 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!");
}
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.