Hey there,
I know it's a bit late, but can we use the modulus operator in HSC algorithm questions?
A modulus operator, "%" can be used to calculate the remainder of a division operation:
10%6 = 4 as 10/6 = 1 .... 4 has remainder 4.
And also, can we just say that "array starts from 1 or 0" in a specific question?
Let me know what you think about those... Our teacher didn't mention whether we can or can not.
Cheers,
Lincoln
I know it's a bit late, but can we use the modulus operator in HSC algorithm questions?
A modulus operator, "%" can be used to calculate the remainder of a division operation:
10%6 = 4 as 10/6 = 1 .... 4 has remainder 4.
And also, can we just say that "array starts from 1 or 0" in a specific question?
Let me know what you think about those... Our teacher didn't mention whether we can or can not.
Cheers,
Lincoln
Last edited: