Write a program in java to input 10 number in single dimension number and find the average of all odd number
Answers
Answer:
please mark as brainlist please mark as brainlist please mark as brainlist please mark as brainlist please
Explanation:
please mark as brainlist please mark as brainlist please mark as brainlist please mark as brainlist please mark as brainlist please mark as brainlist please mark as brainlist please mark as brainlist please mark as brainlist please mark as brainlist please mark as brainlist please mark
Explanation:
We will see two programs to find the average of numbers using array. First Program finds the average of specified array elements. The second programs takes the value of n (number of elements) and the numbers provided by user and finds the average of them using array.
To understand these programs you should have the knowledge of following Java Programming concepts:
1) Java Arrays
2) For loop