Program to calculate LCM of two numbers in C language

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ม.ค. 2016
  • Like, Comments, Share and SUBSCRIBE

ความคิดเห็น • 212

  • @neerajmahapatra5239
    @neerajmahapatra5239 5 ปีที่แล้ว +85

    Jo apki approach hai na ...like isme LCM kya hai yeh ekdum basics se aana jaruri haii ......thats what i like and i have learnt from you GREAT JOB 💥💥

    • @mohammedmujahid5463
      @mohammedmujahid5463 4 ปีที่แล้ว +4

      Hi bro,could you plz help me regarding c language programs solving

    • @neerajmahapatra5239
      @neerajmahapatra5239 4 ปีที่แล้ว

      @@mohammedmujahid5463 ya sure

    • @sachinupreti7159
      @sachinupreti7159 3 ปีที่แล้ว +1

      Bhai ye galat program hain , chalo 34 and 12 ka nikalo halaat aaega is program se ,🙄

    • @neerajmahapatra5239
      @neerajmahapatra5239 3 ปีที่แล้ว

      @@sachinupreti7159 but why first common term is 204.

  • @surajgupta-bc8lq
    @surajgupta-bc8lq 2 ปีที่แล้ว +10

    I started my programing career with all your video and today also I always reffer your video whenever i want detail explanation.
    Your all videos of c and data structure helped me a lot and I am soo thankful that i can't explain in words sir 🥺❤

  • @dhaneshdeshmukh4758
    @dhaneshdeshmukh4758 5 ปีที่แล้ว +18

    really really really....Great explanation..... not only for this program,for all programs..!!

  • @abhisheksatyam4733
    @abhisheksatyam4733 7 ปีที่แล้ว +15

    Awesome sir g!
    The way you teach us is one of the bonafide way.....!

  • @sinishg6125
    @sinishg6125 2 ปีที่แล้ว

    The technique you taught to first imagine the output has really helped me thank u sir😃

  • @Aniketkumar-wl7tn
    @Aniketkumar-wl7tn ปีที่แล้ว

    Very impressive explanation of LCM in c Lang , before this I never understood LCM program like that...,
    When I got problem I always watch saurabh sir video.❤️

  • @moonnight2213
    @moonnight2213 2 ปีที่แล้ว

    After created 5 years ke baad bhi this video is helpful to understand the basic s
    🙏🙏. Thanks for creating this video ❤️

  • @Go0berahh
    @Go0berahh 4 หลายเดือนก่อน +2

    Good good...very good sir very good explanation

  • @ankitmaurya3035
    @ankitmaurya3035 5 ปีที่แล้ว +2

    superb way......of explaining by giving inproved versions of the same code

  • @dktech7831
    @dktech7831 4 ปีที่แล้ว +2

    There is no one like you. You are great sir.

  • @vakhariyajay2224
    @vakhariyajay2224 2 ปีที่แล้ว +2

    Thank you very much. You are a genius.

  • @MSamiulHasnat
    @MSamiulHasnat 3 ปีที่แล้ว

    Thanks a lot sir. Your every and each video is great very easy to understand. Specially your approach to solve a problem is unique & best

  • @20_SinManya
    @20_SinManya 3 ปีที่แล้ว +2

    Outstanding approach, many thanks sir!!

  • @sarbjeetbrar5412
    @sarbjeetbrar5412 2 ปีที่แล้ว

    really a very good teacher awesome way of teaching

  • @muskangupta1977
    @muskangupta1977 3 ปีที่แล้ว +2

    Thank you so much sir...this is a great explanation indeed

  • @VINAYYADAV-os9tc
    @VINAYYADAV-os9tc 4 ปีที่แล้ว +1

    Sir u have a Excellent way of teaching... #😻

  • @rgt7570
    @rgt7570 2 ปีที่แล้ว +8

    Brilliant Sir! Thank you so much!
    I have visited multiple sites but never found such a detailed explanation on any of the sites or videos. Hats off to your patience level and passion to spread your knowledge to the masses!

  • @rishikumar-rk7tk
    @rishikumar-rk7tk 5 ปีที่แล้ว +2

    thank you sir for your great explanation.It is very useful.

  • @Harsh_____13
    @Harsh_____13 5 ปีที่แล้ว +2

    Best lectures ....guys support this channel more and more

  • @abhi34776
    @abhi34776 2 ปีที่แล้ว

    Thankyou so much sir for your calm and clear explanation.

  • @Vasudev-kutumbkam-100-crore
    @Vasudev-kutumbkam-100-crore 2 ปีที่แล้ว

    Sir aap coding ke jaadugar hai awesome sir mind blowing

  • @qa3596
    @qa3596 2 ปีที่แล้ว

    Very well explain sir
    Thankuu for making that typpe of videos....

  • @ramakrishna-ok7rs
    @ramakrishna-ok7rs 5 ปีที่แล้ว +4

    You explained perfectly.

  • @vikashdwivedivlogs8648
    @vikashdwivedivlogs8648 2 ปีที่แล้ว +2

    Very good explanation sir 🙏 thank you

  • @roohishakir183
    @roohishakir183 6 ปีที่แล้ว +1

    thanks sir g. ur teaching method is great....

  • @gadhamshettyyamini8314
    @gadhamshettyyamini8314 4 ปีที่แล้ว

    Sir.. really we like your way of teaching....we understood each and every line ....and also from this we learned basics too....pls once go through the face prep website and make videoes on that programs which are different

  • @sanskargupta4324
    @sanskargupta4324 6 ปีที่แล้ว +4

    exactly sir.. now the real concept of lcm is cleared thank you...

  • @sscode3809
    @sscode3809 ปีที่แล้ว

    Woh sir your method is very simple you are great teacher 👍🥰🥰👍🥰 please keep it up

  • @mohdasman1048
    @mohdasman1048 5 ปีที่แล้ว +2

    U deserve lots of respect sir

  • @khadijabibi8894
    @khadijabibi8894 5 ปีที่แล้ว +1

    Bhoot zbbrdsttt....... Superabb perfect..... Allah bless youuu

  • @bikramdas8359
    @bikramdas8359 5 ปีที่แล้ว +1

    very very nice vedio and your teaching tecnic is so good

  • @RameshKumar-yk4kl
    @RameshKumar-yk4kl 4 ปีที่แล้ว

    Wow simply superb.
    Thank you sir.

  • @himanshuaggarwal2445
    @himanshuaggarwal2445 3 ปีที่แล้ว +2

    Sir maja aa jata hai aapse parhkekhud pata lagta hai ki hame basics ni ate thx sir

  • @sohailpathan2100
    @sohailpathan2100 3 ปีที่แล้ว +2

    thank you so much sir you have explained really in easy

  • @prakhyathmunna254
    @prakhyathmunna254 2 ปีที่แล้ว

    Nice way of teaching ... Thnk u sir 🙏

  • @jastinathapa2923
    @jastinathapa2923 4 ปีที่แล้ว

    Good Sir This is very useful for computer Science students
    ...Keep It up..

  • @user-jw9ck8yq4z
    @user-jw9ck8yq4z 5 หลายเดือนก่อน +1

    Thanks for LCM program to your reason prepare .

  • @zamp7927
    @zamp7927 6 ปีที่แล้ว +1

    you r king of kings in programing sir

  • @technicaltechnmofficial2513
    @technicaltechnmofficial2513 2 ปีที่แล้ว

    thank you soo much sir .. it helped me a lot

  • @vinaypahelani6456
    @vinaypahelani6456 5 ปีที่แล้ว +1

    Awesome explanation sir 👌

  • @sarveshsharma3555
    @sarveshsharma3555 6 ปีที่แล้ว +1

    sir you are great. i proud of you

  • @_Nickita.tiwaari_51
    @_Nickita.tiwaari_51 4 ปีที่แล้ว +3

    Sir you are truely amazing

  • @pooshanarora6856
    @pooshanarora6856 8 ปีที่แล้ว +1

    thanx fr various approach..sir

  • @tinytikhak9486
    @tinytikhak9486 4 ปีที่แล้ว

    Awsome sir.... No word I'm speech less

  • @PraveenKumar-zo9it
    @PraveenKumar-zo9it 5 ปีที่แล้ว +5

    The video was very informative. It'll be more useful if you make video in English also or with English subtitle.

  • @anshikagarg4874
    @anshikagarg4874 5 ปีที่แล้ว +2

    U just nailed it sir

  • @akshaykhachi8565
    @akshaykhachi8565 5 ปีที่แล้ว +2

    Explaination is too good...

  • @mehtabsingh7273
    @mehtabsingh7273 2 ปีที่แล้ว

    Got it sir
    Have also tried myself
    main()
    {
    int i,j,k=1,a=1;
    printf("Enter Numbers for LCM : ");
    scanf("%d %d",&i,&j);
    while(a%j!=0){
    a = i * k;
    k++;
    a % j;
    }
    printf("LCM : %d",a);
    }

  • @barnamahato6947
    @barnamahato6947 5 ปีที่แล้ว +1

    nice n very efficiently done..

  • @HKNAGPAL7
    @HKNAGPAL7 6 ปีที่แล้ว +3

    Awesome !!!! 👌👌

  • @vishalchauhan9832
    @vishalchauhan9832 5 ปีที่แล้ว +4

    Very helpful video 😊

  • @vishalkishore7043
    @vishalkishore7043 6 ปีที่แล้ว +1

    great sir u are awesome........

  • @shyamkachhadiya4964
    @shyamkachhadiya4964 6 ปีที่แล้ว

    wah sir swagged progr ......execllent

  • @ans7452
    @ans7452 ปีที่แล้ว

    Best explanation ever🎉

  • @shreejeemetalcast3294
    @shreejeemetalcast3294 3 ปีที่แล้ว +4

    aapko sir ka paid couse bhi lena chaiye
    you will learn a lot

  • @tanishasheniz9597
    @tanishasheniz9597 6 ปีที่แล้ว +4

    Awesome tutorials for programming .... best tutor !!!

  • @FANSasFRIENDS
    @FANSasFRIENDS 3 ปีที่แล้ว

    Really nice explanation sirG.

  • @028anandkumarsingh3
    @028anandkumarsingh3 3 ปีที่แล้ว +1

    Great teaching sir ❤️❤️❤️

  • @45_ritiksharma32
    @45_ritiksharma32 4 ปีที่แล้ว

    Perfectly explained sir

  • @HelloHey12
    @HelloHey12 4 ปีที่แล้ว +1

    Great yrr,,awesome thak you😍😘

  • @hary4065
    @hary4065 4 ปีที่แล้ว +1

    I didn't expect it. you wrote the same code as I did.

  • @exploreinto7025
    @exploreinto7025 3 ปีที่แล้ว

    Detail explained.Thanku

  • @arushsarma7976
    @arushsarma7976 2 ปีที่แล้ว

    Amazing sir

  • @nazminvahora3397
    @nazminvahora3397 3 ปีที่แล้ว

    Thank you so much for this video 😊

  • @user-mi4em5bj2t
    @user-mi4em5bj2t ปีที่แล้ว

    Sir you are the best 💕💯

  • @shriyankakhade1828
    @shriyankakhade1828 5 ปีที่แล้ว +2

    thank you sir. agar hamare teachers yesa sikhate ho kamal ho jata.

  • @cronypau9970
    @cronypau9970 ปีที่แล้ว

    This literally feels like someone stabbing in my heart with reality after me doing leetcode for over a year

  • @sheebabee798
    @sheebabee798 5 ปีที่แล้ว

    What a amazing vdo

  • @harshitgarg5831
    @harshitgarg5831 7 ปีที่แล้ว +1

    excellent vedio sir

  • @dipalisirwaiya203
    @dipalisirwaiya203 6 ปีที่แล้ว +13

    Awsome sir... Itna easily hogya ye program... Apki approach se to 😁

  • @jyotikotapati9222
    @jyotikotapati9222 ปีที่แล้ว +2

    thank you so much Sir 🙏🙌

  • @ashoknimse192
    @ashoknimse192 4 ปีที่แล้ว

    sir apka samjane ka tarika kamal ka haio

  • @rehanmultani1110
    @rehanmultani1110 ปีที่แล้ว +1

    Sir you are genius

  • @anubhavnegi7428
    @anubhavnegi7428 5 ปีที่แล้ว

    Nice explained sir.

  • @deepakbhati1580
    @deepakbhati1580 6 ปีที่แล้ว +1

    very helpful sir

  • @amritshukla3127
    @amritshukla3127 3 ปีที่แล้ว

    You are great sir.

  • @pramilasinha1953
    @pramilasinha1953 5 ปีที่แล้ว +1

    Sir you are great

  • @sameeraputhrakulkarni6193
    @sameeraputhrakulkarni6193 3 ปีที่แล้ว

    Super teaching sir g

  • @rjk04
    @rjk04 3 ปีที่แล้ว

    best explanation :-)

  • @muhammadasad9
    @muhammadasad9 5 ปีที่แล้ว +4

    big hands for the man

  • @surajjadhav2829
    @surajjadhav2829 3 ปีที่แล้ว

    You are Legend👏

  • @sandeepbashyal6016
    @sandeepbashyal6016 4 ปีที่แล้ว

    you make program very easier

  • @abksaifi3968
    @abksaifi3968 4 ปีที่แล้ว

    great explain

  • @DhananjayKumar-fc5eq
    @DhananjayKumar-fc5eq 4 ปีที่แล้ว

    Sandaar best👍💯

  • @bhawika902
    @bhawika902 5 ปีที่แล้ว +1

    great

  • @sagarmehla3781
    @sagarmehla3781 6 ปีที่แล้ว

    Mindblowing

  • @fulltoknowledge3153
    @fulltoknowledge3153 6 ปีที่แล้ว +2

    Nice

  • @bareetsingh
    @bareetsingh 5 ปีที่แล้ว +2

    Thanx Sir

  • @gauravchauhan7921
    @gauravchauhan7921 5 ปีที่แล้ว +2

    Love you Sir

  • @hamidpasha6112
    @hamidpasha6112 5 ปีที่แล้ว +1

    Thank you sir

  • @hasanraja4863
    @hasanraja4863 2 ปีที่แล้ว

    Love u sir 😌😌😌🙏😌❤️😊

  • @nitinsharma9664
    @nitinsharma9664 4 ปีที่แล้ว

    very nice sir

  • @dhanashrisakharkar8670
    @dhanashrisakharkar8670 3 ปีที่แล้ว

    Best

  • @AnilKumar-hr5uq
    @AnilKumar-hr5uq 4 ปีที่แล้ว +1

    Thank you Guru g

  • @govindjangid6201
    @govindjangid6201 4 ปีที่แล้ว +1

    Thanks sir ji💛💛

  • @dilnawajkhan1970
    @dilnawajkhan1970 5 ปีที่แล้ว +1

    Sir u r ryt mainai bhi least common factor hi bola😂😂🤣

  • @soumyokantichakraborty5512
    @soumyokantichakraborty5512 4 ปีที่แล้ว

    best

  • @sourabh.jangra
    @sourabh.jangra ปีที่แล้ว +2

    Great Video !! We can also use L = L + L in the expression statement of the for loop because we have already initialized it with the greater number among a and b.

    • @atheismop2758
      @atheismop2758 ปีที่แล้ว +3

      Actually it's not possible that way
      consider Lcm of 3,4 (which is 12).
      Now, as per ur code,
      for ( L = 4 ; L L = 4+4)
      again the----- if( L%3 == 0 && L%4 == 0) condition will become false
      (since L( =4 ) % 3 will be false)
      Now, L will become 16 (by L = L+ L ====> L = 8 + 8),
      and this time, the condition(L

    • @sourabh.jangra
      @sourabh.jangra ปีที่แล้ว +1

      @@atheismop2758 Thanks a lot for correcting me !! You are right !! 🤗

    • @atheismop2758
      @atheismop2758 ปีที่แล้ว

      @@sourabh.jangraNo problem buddy.. we all software people are there to help each other 😊✌

  • @muhammadaliawan6295
    @muhammadaliawan6295 3 ปีที่แล้ว

    sir, greater number find karna k lye max(n1,n2) ke statement use kr le wo zyada better nhi ha kiya ???

  • @nalinkaushik1617
    @nalinkaushik1617 2 ปีที่แล้ว

    Thanku sir