23 - SUM OF INDIVIDUAL DIGITS OF A NUMBER - C PROGRAMMING

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • Sum of individual digits of a given number
    1) Find the individual digits of a number
    2) Add all the individual digits

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

  • @PAVA1GKWORLD
    @PAVA1GKWORLD 5 ปีที่แล้ว +36

    My college sir said this problem nobody can understand but I watched this video only one time I understand that easily wow 😮 superb sir

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

    Thanks man 👍🏼

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

    Sir please tell about files concept ,strings and pointers

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

    Hey there! Can you please let me know that how we can check that the number is odd negative ?
    Waiting to hear from you soon.

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

      If remainder is 0 it's even
      Else odd

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

    Good sir but first lo 123 u said 133

  • @HarshGouda
    @HarshGouda หลายเดือนก่อน

    Every student deserve a Teacher like you Excellent explanation.

  • @muthulakshmi-pu5oe
    @muthulakshmi-pu5oe 5 ปีที่แล้ว +3

    This video is helpful for me 👍👍👍Sir may i get iteration for perfect number, Armstrong number

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

      Hi
      Thank you for your support towards our channel share our channel with your friends and keep following our channel.

  • @dineshkumar-sc1cg
    @dineshkumar-sc1cg 3 ปีที่แล้ว

    Sir if the input is 12345670123 then the remaining number 123 how to add it sir?

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

    lighting is very bad
    not clear

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

      hi sarili
      thanks for your suggestion and i have noticed the same thing and you can observe the change in my next videos.
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

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

    Explain more detail so that poor student can understand

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

    sir please dont update the order of the vidoes now

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

      I will give numbering to all the videos so that it would be easy for you. Other than this I will not do any changes

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

      @@sundeepsaradhi thankyou sir

    • @SHYAMSUNDAR-om9ii
      @SHYAMSUNDAR-om9ii 4 ปีที่แล้ว

      Same problem

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

      @@sundeepsaradhi SIR 1%10 = 1.How is it Sir ?

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

    Sir LIKE👍👍👍👍👍

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

      hi madhu
      thanks for your interest towards our channel and share my sessions with
      your friends and subscribe to our channel.Keep following our channel.

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

    In this programme the values of results of N, R are not consider after the decimal point

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

    sir what should i do if i take 189 then again two digits will come

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

    It's only working for me till 5 digit, for more then 5 digits it posts 0

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

    Why we are taking only n>0 and why can't we take n>=0

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

    Oh! Thank you so much. Finally I got it!

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

      hi Rajib
      thanks for your interest towards our channel and share my sessions with
      your friends and subscribe to our channel.Keep following our channel.

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

    Thank you so much for very easy understanding...

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

    sir, 1234 individual number sum

  • @j.vinaykumar2662
    @j.vinaykumar2662 2 ปีที่แล้ว

    Super explanation sir thank you

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

    Why using 10 (i.e)n=n%10

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

    Tank you sir😃😃

  • @Raju-08rk
    @Raju-08rk 11 หลายเดือนก่อน

    can you start from the basics sir

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

    This is really helpful. I looked into many others tutorials but it was confusing. Thank you very much :D

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

    Sir please tell me what to include in the same program if we want o/p as sum of digits is 1+2+3=6.

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

    Thank you very much sir

  • @PardeepKumar-uf4hv
    @PardeepKumar-uf4hv 4 ปีที่แล้ว +1

    can it be slove with for loop?

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

    U saved my life in my practical exam.

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

    Please explain in tamil alsoo sir... Because some students are studied previous in tamil... My heartly request sir❤️👍🏻.... But ur teaching is very useful for me... 😌🙏Thx ur explanation

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

    thank you sir,super explanation,
    I have a question
    input no : 9765
    sum = 9+7+6+5=27
    further output sum
    2+7=9
    I mean to say that , I wanna add till get one single digit , how to solve this type of problem sir , plz reply

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

    Sir -123= -6 ravalante

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

    I need a logic
    In a given number I need the sum of middle two numbers

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

    Thanks a lot sir !

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

    Thank you sir...I got it..!!!👍👌💐

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

      hi
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

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

      Yep! :)

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

    sir i performed this program in online c compiler ,no errors ,no warnings but the output is getting wrong what was the reason sir do you have any idea plz respond sir

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

    Thanks for sharing knowledge and putting energy and patience, I indebted you always

  • @Pooja-jd6jc
    @Pooja-jd6jc 3 ปีที่แล้ว

    Sir ,when we excutig this program showing return type defaults

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

    How 1%10=1 it's 0.

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

    Tnq so much sir

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

    Thank you sir . I have clarified my doubts from your explanation.

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

    Wow nice one 😍😍😍😎

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

    1÷10 remainder one how plz clarify doubt

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

    how 1 modulo 10 is 1...pls clear my doubt

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

      hi praveen
      a mod b is a if a < b
      if a > b then
      remainder of a/b will be the result.
      hope your doubt has been clarified.
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

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

    Thank you and respect

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

    really understand this simple logic..... Thanks to u.....

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

      Hi
      Thank you very much for your support towards our channel share our channel with your friends and keep following our channel

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

    1%10 rem=0 kadha

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

    Super

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

    Sir, There is not initialization for the variable r .What can be the value sir?

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

    This video saved me.....thank you very much sir

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

    was really helpful sirr, specially the last part where you explained the functioning of the loop with an input example

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

    Keep on going sir very nice explanation make more videos on c programing

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

    Sir u r videos r good but taking n th term in the program

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

    Any classes teaching in online classes sir

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

      hi srinivas
      no online classes but will upload every subject.

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

    Thank you Anna..... your get a good job...and also good explanation

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

    REMOVE TENTH DIGIT PROGRAM HOW TO SOLVE IT SIR

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

    Thank you sir🙏🏻❤️

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

    I give 100 likes

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

      hi ram
      thanks very much
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

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

    👍🙏

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

    Thx so much it helped alot!!!!

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

    '' Good'' - Sir Denish Richie

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

    Awesome... explanation

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

    such an easy explanation,did well sir!

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

    Thank U sir..🙏🙏🙏

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

    Thank you very much

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

    Super

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

      hi ram
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

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

    Hats off to you sir

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

    It's very useful

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

    Very useful for me

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

    Thank you sir

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

    Excellent sir👏👏👏👏

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

    Thank you so so much sir...

  • @subashchandrabose.r8849
    @subashchandrabose.r8849 5 ปีที่แล้ว

    Super sir

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

    😍😍 awaresome sir

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

    superb sir

  • @BinodTharu-er2yq
    @BinodTharu-er2yq 5 ปีที่แล้ว

    Sir thank you so much sir ..

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

    Super

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

    Tnx sir

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

    Thanks..

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

    Super ga cheparu sir

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

    Super sir✌🏼

  • @KJ-lu7tn
    @KJ-lu7tn 6 ปีที่แล้ว +1

    Hey, this is what we used in class.
    #include
    int main(void)
    {
    int n, sum = 0;
    printf("This program sums a series of integers.
    ");
    printf("Enter integers (0 to terminate): ");
    scanf("%d", &n);
    while (n != 0) {
    sum += n;
    scanf("%d", &n);
    }
    printf("The sum is: %d
    ", sum);
    return 0;
    }

    • @KJ-lu7tn
      @KJ-lu7tn 6 ปีที่แล้ว +1

      instead of the int n declaration my teacher used long n, can you make a video? Thx

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

      hi k j
      this is the program to find sum of natural numbers.
      i have uploaded the program to find sum of individual digits of given number like 123 = 1+2+3 = 6.

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

    awsome sir

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

      hi surya
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

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

      please try to take another language it will helpfull to user and make a lot of subscription tooo like cpp, java kind obligation sir

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

    Where do we increment pls help sir

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

      Hi, here the loop is repeated based on 'n' value so increment is not required.