Skip to content

Opening book details…

About this document

Min-Max Array Values in Java Code by tayyaba hussain is a document available to read on EtoBox.

The document describes a Java program that randomly generates and stores 10 integers between 1-100 in an array. It then finds the minimum and maximum values in the array without sorting. The program initializes the min and max variables, generates random numbers for the array elements, compares each element to min and max, and finally prints out the minimum, maximum and student name and roll number.

Author
tayyaba hussain
Language
EN