The literal (but still rather idiomatic) way to write this in J would be as follows.
m =: 100 $ 0 NB. This means create a 1d array consisting of 100 zeros.
j =: 5
y =: 10
With this initialization aside, we are now ready for the meat of the answer, which consists of two different ways of using the adverb }("Paragraph" Change "and" Change ") .
m =: y j } m
} J j - m y. : m, y j } m , , , } .
y =: j } m
} J j - m . y .