Write a utility class MathTools: declared final, with a private constructor (nobody can create an object), and only static methods:
boolean isPrime(long n)(trial division up to √n),long gcd(long a, long b)(Euclid; works with negatives),long power(long base, int exp)by repeated squaring (noMath.pow),int clamp(int value, int low, int high),double roundTo(double value, int decimals).
MathToolsApp.main reads queries until the end of input: prime 97, gcd 84 -36, pow 3 13, clamp 150 0 100, round 3.14159 2, and prints e.g. power(3, 13) = 1594323. Unknown words print unknown operation ….