I have a task to create a mathematical formula in c++, input some variables and get a result.
The problem is that I don't know how to represent and calculate the following:
sin(3 mod 180)
I`m aware that mod operator finds the remainder of a division. I can figure that out for 180 mod 3, but for 3 mod 180.