3. Write a method normaliseArray which
takes a single argument arr of type int[];
returns an array of the same size, but of type double[].
The values in the return array are computed by scanning arr to
find the
largest absolute value m, and loading position i of the return
array with the
result of dividing the value at position i of arr by m.
You can assume that arr does not contain any negative values.
Array arr must
not be altered.
Java language
3. Write a method normaliseArray which takes a single argument arr of type int[]; returns an array of the same size,
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
3. Write a method normaliseArray which takes a single argument arr of type int[]; returns an array of the same size,
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!