My objective is to have a 2d array [3,4] which takes in 12 values of doubles. I then want the programme to round the values to the nearest whole number and then store these in a new array. When i seem to try this it is just storing the unrounded input values instead of the rounded values in the new array
Any help would be appreciated.
Thanks