question archive Declare and initialize an array with 10 values using rand()
Subject:Computer SciencePrice: Bought3
Declare and initialize an array with 10 values using rand(). You don't have to use srand, but you
can if you'd like to test with random numbers.
Write function that finds the largest number in the array. You may use any strategy you wish,
as long as it correctly grabs the right number.