Question: plz use java Assume we have already defined a variable of type String called name with the following line of code: String name - ???;

Assume we have already defined a variable of type String called name with the following line of code: String name - "???"; // 'name' can have any String value TASK: Print a welcome message "Hello, name! Welcome to CSE 11!:)' surrounded by a box of asterisks (*) with spaces separating the box and your text. EXAMPLE: If name is 'Newman', you would print the following: * Hello, Newman! Welcome to CSE 11! :) EXAMPLE: If name was "Jerry'. you would print the following: * Hello, Jerry! Welcome to CSE 11! :) * Sample Input: Frodo Sample Output: **************** ************** + Hello, Frodo! Welcome to CSE 11! :) * ********************* Write a program, test using stdin - stdout Time limit: 8 seconds Memory limit: 256 MB 1 // YOUR CODE HERE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
