I am trying multiply a specific location of an array by certain value, where the location is determined by the index and the value of the num array. The certain value comes