Menu

[solved]-Write Program Reads Positive Numbers Integers Stores Array Write Method Prompt Input Value Q39086059

Write a program that reads positive numbers (integers) andstores them into an array.

  1. Write a method to prompt for the input values. (sentinelterminated)
  2. Write a method to print the array.
  3. Write a method that returns the value of the smallestnumber.
  4. Write a method that returns the value of the largestnumber.
  5. Write a method to find the location of a number (array index +1)
  6. Write a method to compute the average of the numbers in thearray.
  7. Write a method to output the results.(it’s my programmingassignment)

Expert Answer


Answer to Write a program that reads positive numbers (integers) and stores them into an array. Write a method to prompt for the i… . . .

OR


Leave a Reply

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