Question: Interactive Programs with String Input Follow along with your instructor to complete the Greeter program. Sample program execution (user input inred): Hey, what's your name?Bob
Interactive Programs with String Input
Follow along with your instructor to complete theGreeter program. Sample program execution (user input inred):
Hey, what's your name?Bob
Hello, Bob!
Glad to meet you.
import . . .; /** * Greets a person by name. * * @author (your name) * @version (a version number or a date) */ public class Greeter { /** * Greets a person by name. * @param args the command line arguments. */ public static void main(String[] args) { . . . System.out.print("Hey, what's your name? "); String name . . .; System.out.println(. . .); System.out.println("Glad to meet you."); } }
Step by Step Solution
There are 3 Steps involved in it
To complete the Greeter program that interacts with the user to get their name and greets them you c... View full answer
Get step-by-step solutions from verified subject matter experts
