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

Write a java program to display multiplication table in a Frame.

1 Answers  


How Can I Trace A Java Program . Please Give Me Step by Step Process

1 Answers   IBM,


write a program in java to solve a system of n-variabled simultaneous equations using the guassian elimination method. let the maximum possible value of n be 100. run the program using hypothetical values for a set of 10- variables simultaneous equations. print out the program, the input equation and the results generated by the program.

0 Answers   TCS,


write a program that inputs two real numbers then exchanges their values.

7 Answers   Infosys,


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  






Why we r using String args[] in main() even though v r not passing any arguments in command line?

2 Answers  


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,


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

14 Answers   Google, Zoho,


does anyone know the code to display a triangle using a applet?

1 Answers  


How to create Date method to set the date in Ms Access

0 Answers  


Is there any static classes are in java give some examples

0 Answers  


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  


Categories