Page 1 of 1

6. (10 points) Complete the following: • Create a (5x5) matrix of random numbers between (0,20) by using rand(), multipl

Posted: Mon Jul 11, 2022 12:44 pm
by answerhappygod
6 10 Points Complete The Following Create A 5x5 Matrix Of Random Numbers Between 0 20 By Using Rand Multipl 1
6 10 Points Complete The Following Create A 5x5 Matrix Of Random Numbers Between 0 20 By Using Rand Multipl 1 (60.62 KiB) Viewed 48 times
6. (10 points) Complete the following: • Create a (5x5) matrix of random numbers between (0,20) by using rand(), multiplication, and round (). • Create an if else statement that checks if the rank of the matrix is 1, then 2, then 3, then 4, leaving the else for the posibility of a rank 5. • In the correct section of the if else statements, include fprintf() statements which output the rank given by that if and else. • Run your code 3 times and each time record the rank of your random matrix in a comment.