Program #4 Logic 1 Finding GCD / HCF of a given two numbers in Core Java

preview_player
Показать описание
This Program demonstrates how to find GCD or HCF of a given two numbers in Core Java
Рекомендации по теме
Комментарии
Автор

It took me 4 hours but after seeing your video clearly understand sir

VISALJCSEUG-
Автор

Upload more videos like logic.bcoz u make it easier

RajkamalKamal-bhjq
Автор

Gcd of two numbers, can it also be done using recursive function?

eshnadutta
Автор

Doubt : what if the value we enter for 'a' is small compared to 'b'.
eg : we gave a=2; & b=50.
How pgm will work?

Can anyone explain, Thanks in advance.

shyamprasadr
Автор

Hi ! Arun,
I m tarun and my brother Karun
Nice

bhanudevitripura
Автор

This is wrong what if we type 2 and 3 whose hcf is 1 so you will have to type else print("1")

झारखण्डसांस्कृतिकविकासमंच