Can help in java ?
Define a two-dimensional array of names.
For each row:
• specify the name with the longest length
• check for a name starting with "A" (save its index)
Save the results in one-dimensional arrays (initialize all elements of the second result array with -1 initially).
Display an array of names, the names with the longest length of each line, and the name starting with "A" from each line or a message that there is none.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here