Menu

[Solved]Java Programming Write Java Program Accepts Given N Number Marks Prg510s Test Stores Array Q37038529

Java programming

Write a java program that accepts given nnumber of marks for a PRG510S test, and stores them into an arraynamed marks. After all marks have been entered yourprogram should accomplish the following:

[n – to be provided by user input]

a)    Find and display the highest mark

b)    Find and display the lowest mark

c)     Compute and display the averagemark

(Above tasks (a, b, and c should be accomplished using only oneloop)

Sample Run1

            Enternumbers of marks: 10

           Enter 10 marks: 55 60 89 75 25 77 92 15 68 40

Output1: Highest Mark =92%

Lowest Mark = 15%

Average = 58%

Expert Answer


Answer to Java programming Write a java program that accepts given n number of marks for a PRG510S test, and stores them into an a… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *