Also referred to as Euclid's Algorithm, is a method of computing the greatest common divisor(GCD) of two positive integers. This Simple programs takes in two integral user inputs and outputs the GCD, calculation has been achieved using div from the standard library.