Question: C + + :Write a program that performs the following steps. Create a one - dimensional array of type integer and size 5 0 .

C++
:Write a program that performs the following steps.
Create a one-dimensional array of type integer and size 50.
Populate the array with randomly generated numbers between 0 and 199, inclusive.
Display the array contents in groups of 10 numbers per line, as shown in the example.
Search the array to find the highest and lowest numbers and their location in the array.
Display the highest and lowest numbers and their position in the array (array index).
Notes:
Because the program uses randomly generated numbers, they must be different every time the program runs.
Please use random device irnstead of rand().
C + + :Write a program that performs the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!