subject

Usin c++ programe : Write a program that performs the following:
a. Declare a two arrays called arrayA and arrayB that holds integer and the size of each array is given by the user.
b. The main method calls a method called fillArray(…) of type void to fill an array with a set of generated random integers between low and high (both inclusive). This method should be called twice to fill arrayA and then arrayB. (the values of High and low are read in the main method.
c. The main method calls another method called printArray (…) of type void to display the elements of the array 5 elements per lines. This method should be called twice to print arrayA and then arrayB.
d. The main method calls another method called count (…) of type integer to count and return the total number of integers greater than a value enter by the user.
e. Then the main methods calls another method called isSame( … ) of type boolean to check if the two arrays arrayA and arrayB have the same element or not.
f. The main method calls a method called findAverage(…) of type double that calculates and returns average of all the values I arrayA.
g. Then, main method calls a method called aboveAverage(…) of type integer that finds and returns how many numbers in arrayB are above the average of the elements of arrayA.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:30
This technology is used to produce high-quality documents that look good on the computer screen and in print. wiki presentation paint desktop publishing
Answers: 3
question
Computers and Technology, 23.06.2019 21:30
Examine the list below. which factors positively affect lifetime income? check all that apply.
Answers: 1
question
Computers and Technology, 24.06.2019 14:00
When creating a field in a table, you must set the to determine what type of data the field can store. field property data type field type data property
Answers: 1
question
Computers and Technology, 24.06.2019 15:30
During the software planning process, rick, a project manager, finds that his team has made an incorrect estimation of funds. what kind of risk has rick identified? rick has identified a risk.
Answers: 1
You know the right answer?
Usin c++ programe : Write a program that performs the following:
a. Declare a two arrays call...
Questions
question
History, 25.09.2019 08:20
question
Mathematics, 25.09.2019 08:20
question
Mathematics, 25.09.2019 08:20
question
Computers and Technology, 25.09.2019 08:20
Questions on the website: 13722362