An annual bursary list contains room for surnames and student numbers for 30 students. Assign surnames and student numbe
Posted: Thu May 26, 2022 10:04 am
An annual bursary list contains room for surnames and student
numbers for 30 students. Assign surnames and student numbers for
the first 10 students. Prompt the user for a surname, and if the
surname is found in the list, display the corresponding student
number. If the surname is not found in the list, prompt the user
for a student number, and add the new surname and student number to
the list. Continue to prompt the user for surnames until the user
enters “quit”. When the array(s) is full (containing 30 surnames),
do not allow the user to add new entries. in java and also use
files.
numbers for 30 students. Assign surnames and student numbers for
the first 10 students. Prompt the user for a surname, and if the
surname is found in the list, display the corresponding student
number. If the surname is not found in the list, prompt the user
for a student number, and add the new surname and student number to
the list. Continue to prompt the user for surnames until the user
enters “quit”. When the array(s) is full (containing 30 surnames),
do not allow the user to add new entries. in java and also use
files.