Question: SO THIS IS A JAVA PROGRAM Write a program that uses a Scanner object to first read in a number that represents the size (n)


SO THIS IS A JAVA PROGRAM
Write a program that uses a Scanner object to first read in a number that represents the size (n) of an array of String Create an array of Strings that uses the first number as the size. You will then read in (n) names all on the same line and store them in the array. Finally, you will read in a char (same line as the names). Then, the program will then go through the array of names and print the name(s) to the screen if the name(s) ENDS with the char. Make sure you deal with case i.e. you have to ignore it your code (see example)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
