100% Guaranteed Results


Introduction
$ 29.99
Category:

Description

5/5 – (1 vote)

Task: MaxMin
Description: Write a program that finds the largest and the smallest element in an array of integers. In this task, you have to implement 2 methods.
• private int findMax(int[] array)
Takes an integer array as an argument and returns the largest value.
• private int findMin(int[] array) {
Takes an integer array as an argument and returns the smallest value.
Sample Run:

Throughout the task, you have to write your code only between these two comment lines:
// Your code starts here
// Your code ends here

Reviews

There are no reviews yet.

Be the first to review “Introduction”

Your email address will not be published. Required fields are marked *

Related products