The user should be able to verify that the data was added to the array by pressing the List button. Add Button - This method should be able to allow the user to enter student data, and then press the Add button to have the data added to the array. Your program should be able to handle up to 15 students. Create four buttons: Add, List, Student Average, Test Averages and Exit - List Button - Show all of the grades for all of the students that have been stored in the array. Use a two-dimensional array to store student data. Create an input/output screen as shown below. JTextArea will handle new line characters ( I ) embedded within strings. TIPS Use JTextArea instead of JTextField for your display window. Test and Student Averages should be rounded to the nearest whole number and displayed without any decimals. Assume users do not exceed 15 entries (exception handling optional). Assume users will enter integers for test scores (error checking is optional).
0 Comments
Leave a Reply. |