Question: JAVA Program public class Lab2Methods { * Program Description: This program will input names and then * format them for display on the screen. It
JAVA Program
public class Lab2Methods { * Program Description: This program will input names and then * format them for display on the screen. It will input up * to 10 names and then display them last name, first name * back to the screen. * * BEGIN format names * Initialize array count to 0 * Input last name * WHLE (last name isn't quit) * Input the first name * Call method to format the first and last name into a full name * Call method to input quiz grades and return the average * Concatenate the avg onto the end of the name * Store the full name and avg into the array * Increment the array count * IF (the array is full) * Set last name = sentinel value to exit loop * ELSE * Input next last name (or quit) * END IF * END WHILE * Call method to display the names and averages in the array * END Calc Average **********************************************************/ "jones, tom 98.44" "potter, harry 100.00" Grade Report Name Avg jones, tom 98.44 potter, harry 100.00 public static void main (String [] args) { //local constants //local variables /******************** Start main method *****************/ } //end main method } //end Template264 Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
