Question: QUESTION 1 Using loops as appropriate, complete the Java Class (program) below so it does the following: Prompts the user for their name. Displays Hello
QUESTION 1 Using loops as appropriate, complete the Java Class (program) below so it does the following: Prompts the user for their name. Displays "Hello [name]!" 10 times. An example run of the program: Enter your name: Qwert Yuiop Hello Qwert Yuiop! Hello Qwert Yuiop! Hello Qwert Yuiop! Hello Owert Yuiop! Hello Owert Yuiop! Hello Qwert Yuiop! Hello Owert Yuiop! Hello Qwert Yuiop! Hello Qwert Yuiop! Hello Qwert Yuiop! 1/ Complete the following program as described above (to get started, 1/ you may copy the block below into the response area). import java.util.Scanner; public class SomeClass { public static void main(String[] args) { Scanner console = new Scanner (System.in); // your code here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
