Vivekananda College of Engineering and Technology

Department of Electronics & Communication Engineering

Back to Experiments
Experiment 9
C Programming Lab

Aim

To find GCD and LCM using modular functions.

Algorithm

1. Read two numbers.
2. Use function to compute GCD.
3. Compute LCM.

Use or Edit the given C template

Output

Output will appear here after compilation.
C Programming Virtual Lab - Experiment 9