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++;

}}}

In java programming language Notes: ask the user to enter array size,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!