Create a 6 by 8 array of random integer numbers ranged from -35 to 70, Find how
Fantastic news! We've Found the answer you've been seeking!
Question:
Create a 6 by 8 array of random integer numbers ranged from -35 to 70,
Find how many -ve numbers in the array?
- Multiply the array by -5
- Find the location of maximum and the minimum number in the array
List the contents of the array
Problem # 2
- Create a structure that consist of four fields, {array, max, min, sum}
File in these fields with :
o Array should contain a 3 by 5 random numbers that are greater than or equal 30.
o Max: contains the index and the value for the maximum number in the array
o Min: contains the index and the value for the maximum number in the array
o Sum: the summation of the items inside the array
Related Book For
Posted Date: