You will need to use a two-dimensional array with five rows and five columns for this assignment.
First of all, you will need to populate this 5x5 array with random numbers from 1 to 100. For this purpose create a function named populateArray() which will load the two-dimensional array with random numbers from 1 to 100.
Create a function named displayArray() which will display the contents of this multi-dimensional array on the console as shown in the sample output.
The final task is to find the maximum and minimum number in this array and display it on the console. For this purpose create a function findMaxMinNumber().
Please Discuss here about this assignment.Thanks
Our main purpose here discussion not just Solution
We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>
For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.
For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.
Or visit this link
Please Click on the below link to see…
here is the solution. i hope this will help you all cheers.
ye complete coding h kiaaa??????tell plzzzzz
maximum and minimum value wrong show ho rhi hai.
Aoa to all mjhe is ki smajh nai arai
srand(time(NULL)); is ka kia maqsad hy ye built in function hy kia ?
The srand(x) function sets the seed of the random number generator algorithm used by the function rand( ). A seed value of 1 is the default setting yielding the same sequence of values as if srand(x) were not used. Any other value for the seed produces a different sequence. srand(time(NULL));
thnx dear...agar hum 2 dimension array m input lena chahe without rand number hm kese constrict krain gy k ap 1 to 100 num enter krain thnx
Find the attached solution file