The rand (sign: R; code: ZAR) is the currency of South Africa. The Rand is subdivided into 100 cents (sign: "c").
. . . bought 3 magazines at x cent each. he gave the cashier R12.00 and received 315c change.what did each magazine cost?
Notice my "dot" replacing your "comma" in the value.