Question: In java programming language Notes: ask the user to enter array size, -- stdID = file// or from user (prefer user) -- stdMark = ?
In java programming language
Notes:
ask the user to enter array size,
--
stdID = file// or from user (prefer user)
--
stdMark = ?
make it without any value
--
stdRank =1
--
2 arrays
--
One array , to hold student ids.
One array, to hold marks.
--
1- find student mark (stdMark)
>> find index of student ID
>> find studentMark by index
2- find student rank
>> for (int i=0; i
if (ids [i] != stdID){
if (marks[i]> stdMark){
stdRank++;
}}}

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
