Answer to Question #19879 in Java | JSP | JSF for Sayed Abdullah Almousawi

Question #19879
Write a Java program to:
o Read an integer N <= 50,
and read N long integers into array ID and
N float numbers into array Score of size 50;
These two arrays represent the ID numbers and the scores of N students in a class;
o Find the maximum score, MaxScore, of students in this class;
o Compute the Percent array such that Percent[I] = 100.0 *Score[I] / MaxScore
for I=1,……,N;
o Print a three columns table with headings ID Number, Score, Percentage for three arrays ID, Score, and Percent respectively. Use formatted output.
You should write and use the following methods in your program:
 Method readArray that reads the first N entries of arrays ID and Scores.
 Method findMax that returns the maximum entry for the first N cells of array Scores.
1
Expert's answer
2012-11-30T04:58:35-0500
Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS