Write a class that instantiates a Scanner object and asks the user for their grade, represented by an integer, and then full name, represented by a String, (in that order specifically) on separate...


Write a class that instantiates a Scanner object and asks the user for their grade, represented by an<br>integer, and then full name, represented by a String, (in that order specifically) on separate lines, and<br>then prints it a string in the format given below with the user input printed.<br>The output should look like below, with bold text in brackets representing user input.<br>Grade: [11]<br>Name: [John Smith]<br>Welcome John Smith, you are in grade 11!<br>

Extracted text: Write a class that instantiates a Scanner object and asks the user for their grade, represented by an integer, and then full name, represented by a String, (in that order specifically) on separate lines, and then prints it a string in the format given below with the user input printed. The output should look like below, with bold text in brackets representing user input. Grade: [11] Name: [John Smith] Welcome John Smith, you are in grade 11!

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here