Placeholder

CMIS 141 Assignment 6 Highest and Lowest Score

$19.00

Description

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.
SCREENSHOTS
SOLUTION
PAYMENT
CMIS 141 Assignment 6 Test Cases
CMIS 141 Assignment 6 Screenshot
CMIS 141 Assignment 6
The solution consists of:
A report word document for this assignment
All Java programs in case you want to run theses programs on your computer.
Screenshots while running programs
Attachments [Move over files to preview content of those files]
CMIS_141_Assignment_6.zip (192.21 KB)
CMIS 141 Assignment 6 Report.docx
CMIS141-Assignment-6-Code-Screenshot.png
CMIS141-Assignment-6-OutputScreenshot.png
CMIS141-Assignment-6-Report-Screenshot.png
Source Code
CMIS141Assignment6.java
Preview CMIS141Assignment6.java
xx (xxxxxxxx < xxxxxx[x]) { xxxxxxxx = xxxxxx[x]; xxxxx = x; } } return index; } // find the index of the smallest value public static int findLowestScore(int[] scores) { int index = -1; int minScore = 1000; for (int i=0; i < scores.length; i++) { if (minScore > scores[i]) { minScore = scores[i]; index = i; }
}
xxxxxx xxxxx;
}
xxxxxx xxxxxx xxxx xxxx(xxxxxx[] xxxx) {
xxxxxxx xx = xxx xxxxxxx(xxxxxx.xx);
Price: $19
You May Also Like:
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 Final Project Employee Salary

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.