A game that has five levels of play has the score for each
level stored in an array. You are to write a program that
goes through that array and finds:
a) the minimum score, and the level at which it occurred
b) the maximum score, and the level at which it occurred
c)the average score for all five levels
The score data you must use for this program are as follows:
Game Level Score
1 450
2 316
3 148
Stack implementations is mandatory.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More J2SE Code Interview Questions

how to print a message to console without using main() function?(do not use even static blocks also.)

14 Answers   Google, Zoho,


Can we run Applet in Web browser with security policy files

0 Answers  


Is it possible to define marker interface in java.If possible then how to define user defined marker interface?

1 Answers   Tech Mahindra,


Is there any static classes are in java give some examples

0 Answers  


A game that has five levels of play has the score for each level stored in an array. You are to write a program that goes through that array and finds: a) the minimum score, and the level at which it occurred b) the maximum score, and the level at which it occurred c)the average score for all five levels The score data you must use for this program are as follows: Game Level Score 1 450 2 316 3 148 Stack implementations is mandatory.

0 Answers  






inner join,outerjoin,trigger,stored procedure explain with code snippets?

1 Answers   IBM,


write a java program to create a Frame with three scrolls, change the back ground color of the frame using functions with values of scrolls.

0 Answers  


is public static void main() work in java?is "String arg[]" needed as argument?

4 Answers   Tech Mahindra,


what are the other loops except for for,while,do while and until?

0 Answers   Aricent,


In java, why do we set thread priority, when we know that there is no guarantee by which a thread should be execute?

0 Answers   Google, Microsoft,


write a program that will ask the user to enter a number n and display the product of all numbers from 1 to n.

1 Answers  


what is runtime class?

0 Answers   MAQ,


Categories