(java programming language) Using while do, generate 10 random numbers between 10 to 30 inclusive. Find the number, the total of even values and their average. Display the three computed values (number, total, average). Save your file as Q3.Java and upload it.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter16: Searching, Sorting And Vector Type
Section: Chapter Questions
Problem 18SA
icon
Related questions
Question
100%

(java programming language)

Using while do, generate 10 random numbers between 10 to 30 inclusive. Find the number, the total of even values and their average. Display the three computed values (number, total, average). Save your file as Q3.Java and upload it.

 

Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer