Loading

[NEW SOLN] CMIS 141 ASSIGNMENT 6 HIGHEST AND LOWEST SCORE

Write a Java program as follows: 

1. Prompt user for the number of students

2. For each student have user enter student’s name and exam score (0-100)

3. Store names and scores in separate arrays

4. Code method which gets integer array and uses for-loop to find the index of the smallest value

5. Code method which gets integer array and uses for-loop to find the index of the largest value

6. Output all students with their scores

7. Output which student has highest exam score and which student has lowest exam score

Make sure your Java program is using the recommended style such as:

  • Javadoc comment up front with your name as author, date, and brief purpose of the program
  • Comments for variables and blocks of code to describe major functionality
  • Meaningful variable names and prompts
  • Identifiers are written in upper CamelCase
  • Class name starts with upper case letter and variables in lower case letter
  • Constants are written in All Capitals
  • Use proper spacing and empty lines to make code human readable

Capture execution:

You should capture and label screen capture associated with compiling your code, and running a test case.

Related tasks

  • CMIS 141 Assignment 1 Student GPA,
  • CMIS 141 Assignment 2 Perform Operation on Two Numbers,
  • CMIS 141 Assignment 3 Calculate Student Grade,
  • CMIS 141 Assignment 4 Output Triangle and Diamond Pattern,
  • CMIS 141 Assignment 5 Body Mass Index,
  • CMIS 141 Assignment 6 Highest and Lowest Score,
Support