Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a Java program to read ten integer values and find the sum and average of values using single dimensional array. Operation array1 [ ],
Write a Java program to read ten integer values and find the sum and average of values using single dimensional array. Operation array1 [ ], sum, average, i (1 Mark) Object Class Name: Member Attributes : Member Methods Read (2.5 Marks) To get the input of ten integer values for the array1 1 To find the sum of all the values in the array To find the average of all the values in the array Process o (2.5 Marks) Display 0 To display the sum and average of values in the array (2 Marks) Driver Class Name (2 Marks) . Operation Test To call the methods Reado. Process, and Display
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started