Program to find HCF & LCM of two numbers in C | #6 Coding Bytes

preview_player
Показать описание
In this video, we will discuss the logic to find out LCM & HCF of two given numbers in C. If you want to know the solution to calculate LCM & GCD of given numbers in C++, Java and Python then check out the below links.

Also, to receive placement preparation tips and placement related updates on TCS, Accenture and various other companies. Come join the largest community on FACE’s Telegram and WhatsApp, and take your placement preparation to the next level.

Join here:
Рекомендации по теме
Комментарии
Автор

Yup you have save my lots of time in single video. Thanks nice work .

krishnabhagat
Автор

आपका पढ़ाने का तरीका बहुत ही अच्छा है बहुत ही शानदार है हमारी आपके साथ शुभ कामना है कि आप सभी की इसी तरह मदद करें और आप भी बहुत आगे जाएं

rameshwarkurmi
Автор

....How did your code compile ? int "i" is not declared... is it c Compiler only or some other compiler ?

hullagtpp
Автор

Please if possible then make a tutorial for pattern printing complex patterns two patterns together it will be very helpful for us .
Thankyou

rishabhgupta
Автор

Tomorrow is my mid-sen and I'm watching this....😅😅😅

HomeNetwork
Автор

Extremely helpful.. thanx for this vdo

sukhendubhattacharjee
Автор

i is not declared and still the program got compiled, .... How?

karnika
Автор

aren't all N>1 numbers divisible by i=1.
so gcd is gonna be 1 every time

raihanrony
Автор

Hey faceprep, please upload more videos on these type of topics. I watched so many videos but This playlist is best on youtube. Need more content please.

rutik
Автор

Explanation and coding is entire different

Electrocode_gk
Автор

Your program took more time than expected.
Expected time limit <1.58sec

it__vaibkhare
Автор

In that case if u take i value as 2 mean u will get the crt answer because by 1 both value will divise

needtimechange
Автор

Thank you but font size is very little

mahendrazode
Автор

lcm and gcd for array how it will be?..can u explain

adityakanakamalla
Автор

I think everytime for every number the code will not work properly

allinne
Автор

Can you please explain me this logic how it works for and if condition for find GCM

amirshaikh
Автор

mam why are we taking minimum value among n1 and n2 ???? that thing didnot clear

pritamparali
Автор

Pls make a video for printing difficult patterns..

sjeeva
Автор

i understood the logic but this video was totally useless for me, because i thought youwere going to teach the code, cus I already knew the logic btw thanks anyways

prajwalnegi
Автор

plz can u explain gcd = i i have not understand

VIVEKKUMAR-peou
welcome to shbcf.ru