2) Perform and output results of ten mathematical operations:
a+b, a-b, a*b, a%b, a^b, square root of a^b, log of b to the base a, integer division (a/b), floating point division (a/b), squareroot of (a^2+b^2)
For some of the above calculations, you need to use static_cast to convert the variables in the correct format. For example the modulus operation works only with integers but your variables a and b are defined as double.