Question: : Write a java program to solve the following problem . 1 . Create a java class ArrayInfo with a main method. 2 . Ask
: Write a java program to solve the following problem Create a java class ArrayInfo with a main method. Ask the user to enter the size of the array. Create a onedimensional array numbers with the selected size from the user. Double Ask the user to fill in the created array. Create a method minNumber that receives the array numbers, and finds and returns the minimum number, Create a method sum that receives the array numbers, calculates, and returns the sum of numbers in the array. Create a method firstLast that receives the array numbers, then, if appears as either the first or last element in the array it print appears as either the first or last element in the array". else, print "the array does not start or end by Create a method printReverse that receives the array numbers, and print the element in array in reverse order In the main method invoke minNumber sum firstLast and printReverse and display the results
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
