We have tried every single way to use modulus but cant find out a way so please if you know guide regarding this issue it gives a syntax error though !
1 Like
Hey @Ryoumen , welcome to the forums! I have no idea what pseudocode is, but a quick Google search brought up this:
Hope this helps!
3 Likes
In most programming languages, %
is the modulus operator, so you could, depending on the context, just use that. Alternatively, a semi-common convention is the first three letters capitalised (MOD
, like ADD
, SUB
, MUL
, DIV
, etc), as the guide Nate linked to suggests.
5 Likes
MOD
happens to be correct, but refer to the CIE spec to see the syntax for the “pseudocode” you’re using.
2 Likes