Exercise 5 Write Java Program Using Loop Find Sum Average Odd Integers 1 3 5 7 499 Display Q37196675

Exercise#5: write a Java program using the while loop to find the sum and the average of all the odd integers 1, 3, 5, 7, 499Exercise#5: write a Java program using the while loop to find the sum and the average of all the odd integers 1, 3, 5, 7, 499. Display the sum and the average. Show transcribed image text Exercise#5: write a Java program using the while loop to find the sum and the average of all the odd integers 1, 3, 5, 7, 499. Display the sum and the average.


Answer


public class SumOfOdd

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.