C Program to Find HCF and LCM

OUTPUT: