Chat with us, powered by LiveChat Create an array and calculate the numbers as described below. Create an array varibale with size 5 2) Ask user to input elements/values for the array variable 3) Ask user to input a intege - Writeedu

Create an array and calculate the numbers as described below. Create an array varibale with size 5 2) Ask user to input elements/values for the array variable 3) Ask user to input a intege

 

Question: 

Create an array and calculate the numbers as described below.

1) Create an array varibale with size 5
2) Ask user to input elements/values for the array variable
3) Ask user to input a integer number to multiply with array elements that created above. 
4) Pass the array and integer number to a function below (This function should return an integer value)

int calculate(int[], int).

5) Multiply the array elements with that integer number and store the results into new array 
6) Calculate the average value on the new array elements that created in Step-5 and find how many numbers are above average
7) And return this number to main method and display the results. 

Sample Output-1:
Enter 5 numbers to create array elements : 
8
4
5
6
2
Enter the number to multiply with Array elements : 7
Multiplication Results : [56, 28, 35, 42, 14]
Average value is 35.0
2 numbers are above average

Sample Output-2:
Enter 5 numbers to create array elements : 
8
9
4
5
8
Enter the number to multiply with Array elements : 5
Multiplication Results : [40, 45, 20, 25, 40]
Average value is 34.0
3 numbers are above average

Hint: 

You need to use single dimensional array and methods to achieve this task. 

Submission Requirement:

Please you need to submit your work in word format, and  each question should provide the below requirements:

  • The code 
  • The results in screenshots (including minumum 3 test results) 

    Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteEdu. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

    Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

    Do you need an answer to this or any other questions?

    Do you need help with this question?

    Get assignment help from WriteEdu.com Paper Writing Website and forget about your problems.

    WriteEdu provides custom & cheap essay writing 100% original, plagiarism free essays, assignments & dissertations.

    With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.

    Chat with us today! We are always waiting to answer all your questions.

    Click here to Place your Order Now