+ 1

writes a C++ program that takes n number of element from user (where n is specified by the user) and stores data in an array?

Then, this program displays the largest element of that array using loops.  Run the program on input (n) sizes of 10, 100, 1000. and record the execution time for all input sizes. Hint  use the random function to generate elements of the array

11th Feb 2019, 10:05 PM
Baraah
3 Respuestas
+ 4
Please show us your attempt first.
11th Feb 2019, 10:13 PM
HonFu
HonFu - avatar
11th Feb 2019, 11:06 PM
Baraah
+ 1
https://code.sololearn.com/czf0oWjFzo95/?ref=app
11th Feb 2019, 11:08 PM
Baraah