Exercise. Create a simple Java program using array named SumOfArray.java that will accept an input of whole numbers or floating point numbers and will return the Sum result. The program must accept at least 5 numbers.
Exercise. Create a simple Java program using array named SumOfArray.java that will accept an input
of whole numbers or floating point numbers and will return the Sum result. The program must accept at
least 5 numbers.