Interviews Questions, Algorithms, Aptitude, C Interview Program, C Theory Question, Aptitude Tricks, Test Series,

Monday, 13 May 2019

LCM and GCD

Question:

CASE 1:
Write a program to find LCM of two numbers

CASE 2:
Write a program to find GCD of two numbers

Solution:

CASE 1:













CASE 2:


0 comments:

Post a Comment