hi there, im very new to programming and i have trouble coding a application that prompts the user for s series of first names and then display the number of names entered and then the name with the most characters in uppercase letters. the application output should look similar to this:
Enter a first name (stop to quit): John
Enter a first name (stop to quit): Andrew
Enter a first name (stop to quit): Robert
Enter a first name (stop to quit): Lisa
Enter a first name (stop to quit): Emilios
5 names were entered.
The longest name was: Emillios
i've come this far
import java.util.*;
import java.util.Scanner
public class LongestName
{
public static void main(String[] args)
{
Scanner input = new Scanner (System.in);
int counter = 0;
}
}