Skip to content

Write a Java program that does the following: 1- Creates an array of integers with random values between 1 and 1000 (inclusive) and a size of 20. 2- Finds and prints the smallest and biggest values in the array. 3- Calculates and prints the average value of all the elements in the array.

Notifications You must be signed in to change notification settings

MSH-trojan/Java_arrays_4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Concepts of Java used in this Program: Loops and iterations If statements Random value generating Arrays

About

Write a Java program that does the following: 1- Creates an array of integers with random values between 1 and 1000 (inclusive) and a size of 20. 2- Finds and prints the smallest and biggest values in the array. 3- Calculates and prints the average value of all the elements in the array.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages