Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please use java Write a program to help your instructor calculate the highest and the lowest grade in the final exam of his/her CSC1250 section.
please use java
Write a program to help your instructor calculate the highest and the lowest grade in the final exam of his/her CSC1250 section. Your program should ask the instructor to enter the number of students and then the grade for every student. The grades should be stored in an array. Then the program should find and display the highest and the lowest grade in the array as shown the sample run below. Sample run 1: Enter the number of Students: 5 Enter grade for student 1: 80.5 Enter grade for student 2: 35 Enter grade for student 3: 75.5 Enter grade for student 4: 90 Enter grade for student 5: 63.4 The highest grade is 90 The lowest grade is 35.0 Sample run 2 : Enter the number of Students: 3 Enter grade for student 1: 80 Enter grade for student 2: 60 Enter grade for student 3: 80 The highest grade is 80 The lowest grade is 60Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started