Question: QUESTION 4 10 points write Java program to handle student marks in your program, you need to do the following 1. As the user to
QUESTION 4 10 points write Java program to handle student marks in your program, you need to do the following 1. As the user to enter number of students in 2. Create an array named maries of sten to hold students marks 3. Ask the user to enter students maries and save them in the array marks. 4. Calculate and output the average of the maris. 3. For each student in the marks output if the student has passed or tated. A student has a pass mark is the mark is above or equal average, and to the marks below average Sample input/output Insert number of students 4 Enter Students' Marks: 9.5 15 35 10.0 Average - 6.125 Student (1) with mark 9.5 is PASS Student (2) with mark 1.5 is FAIL Students with mark 35 is FAIL Student (4) with mark 10.0 s PASS For the toolbar, press ALT F10 (PC) or ALT FNF10 (Mac). BIUS Paragraph Arial V 14px 111 A I x Clio See and Submit to sew and submit. Click Save All Answers to save all answers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
