Martinakom

Not Rated (0)

$12/per page/Negotiable

About Martinakom

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Applied Sciences See all
Accounting,Applied Sciences,Architecture and Design,Biology,Business & Finance,Calculus,Chemistry,Computer Science,Geology Hide all
Teaching Since: Jul 2017
Last Sign in: 399 Weeks Ago, 1 Day Ago
Questions Answered: 5023
Tutorials Posted: 5024
Category > Computer Science Posted 14 Oct 2017 My Price 6.00

Construct a program (ArrayDemo.

 

Hello,

 

Need some help with an assignment for my Java Class, can't seem to integrate the methods listed below, they have to integrated as listed, and I'm having trouble.

 

 

 

Construct a program (ArrayDemo.java) that prompts the user to enter 5 integer numbers. Once the user enters the 5 numbers, the program must determine and output the average, the largest, and smallest of 5 numbers.

 

You must define the methods listed below in your program. Make sure to keep the keyword "static" when you define the methods (we will learn later what static means). Call these methods from the "main" to get the job done.

 

static float getAverage(int[] data)

 

 {

// put your implementation here

}

static int getLargest(int[] data)

 

 {

// put your implementation here

}

static int getSmallest(int[] data)

{

// put your implementation here

}

Answers

Not Rated (0)
Status NEW Posted 14 Oct 2017 11:10 AM My Price 6.00

Hel-----------lo -----------Sir-----------/Ma-----------dam----------- T-----------han-----------k y-----------ou -----------for----------- yo-----------ur -----------int-----------ere-----------st -----------and----------- bu-----------yin-----------g m-----------y p-----------ost-----------ed -----------sol-----------uti-----------on.----------- Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m o-----------nli-----------ne -----------or -----------inb-----------ox -----------me -----------a m-----------ess-----------age----------- I -----------wil-----------l b-----------e q-----------uic-----------kly-----------

Not Rated(0)