C Practical and Assignment Programs-Armstrong Numbers

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 32

  • @wethecomputerguys9903
    @wethecomputerguys9903  9 лет назад +3

    @suganya sugi This program is generic ie it can find if the number is Armstrong for 3 digit or even 6 digit. But if you have fixed to a 3 digit number then you don't require loop. Hope this clears your doubt.

  • @mynameisearlb
    @mynameisearlb 3 года назад

    Awesome, thank you for explaining everything so quickly and speeding up the video.

  • @SmartProgramming
    @SmartProgramming 6 лет назад +1

    great sir, very well explained 👍👍

  • @bhavyapopli2854
    @bhavyapopli2854 9 лет назад

    I wanted to print armstrong numbers b/w 101 and 200. The source code which i entered was:
    #include
    #include
    int main()
    {
    int reqnum=101,sum=0,digit,temp=reqnum;
    for(temp

  • @sachindotel6005
    @sachindotel6005 7 лет назад +1

    correct me if i'm wrong but i think this only works on 3 digit numbers right ?

  • @suganyasugi2908
    @suganyasugi2908 9 лет назад +1

    can you plzzz.....explain why we are using while loop here.....is it possible to use if else for finding armstrong number????

  • @koteswararaoattipatla140
    @koteswararaoattipatla140 7 лет назад

    it's really superb!!!!!!!!
    why cant you try for patterns and series

  • @anjang1317
    @anjang1317 9 лет назад

    hi, can you teach me how to install everything so that i can make a c program on my windows laptop. Its hard for me to go to uni everytime i need to do c program. Thanks!

  • @JayTailor45
    @JayTailor45 8 лет назад

    What is that compiler you using ?

  • @rinchentshering1961
    @rinchentshering1961 10 лет назад

    Nice one.....but Can you do it in HTML and upload video?

  • @subassdb897
    @subassdb897 10 лет назад

    excellent......very much helpful

  • @shiemakiuboud6184
    @shiemakiuboud6184 4 года назад

    thx dude u r a god much love

  • @laxmihn6751
    @laxmihn6751 6 лет назад

    Thank you well explained

  • @yousefsalamh6576
    @yousefsalamh6576 5 лет назад

    nice explain, awesome

  • @prathyushsunny
    @prathyushsunny 8 лет назад +1

    Thankyou ^^ you've been helpful !

  • @cdz007
    @cdz007 10 лет назад

    can you make a video of C program to reverse all nos. in an array and print in words the same?

    • @wethecomputerguys9903
      @wethecomputerguys9903  10 лет назад

      Sorry did not get the " print words the same" part can you explain with sample input and output

    • @cdz007
      @cdz007 10 лет назад

      input: 23 45 827 69
      output: thirty two , fifty four , sevenhundered twenty eight , ninenty six

  • @37_nishantpande13
    @37_nishantpande13 6 лет назад

    thanks for the logic bro!

  • @yousefsalamh6576
    @yousefsalamh6576 5 лет назад

    what if user enter number contain two digit !! your code will not give proper result.

  • @amarchaudhari1309
    @amarchaudhari1309 6 лет назад

    what if we don't know how many digits are there in original number?

  • @vikasagarwal803
    @vikasagarwal803 5 лет назад

    Please upload 21 matchstick program.

  • @pranaysingh1438
    @pranaysingh1438 7 лет назад

    thankyou so much

  • @ayeshanazir8422
    @ayeshanazir8422 7 лет назад

    thank you..

  • @thacainy1270
    @thacainy1270 8 лет назад

    can you show it on matlab

  • @nehaporwal2351
    @nehaporwal2351 7 лет назад

    Tq

  • @sridharladdunuri331
    @sridharladdunuri331 10 лет назад

    sir how can i download ur code sir

    • @wethecomputerguys9903
      @wethecomputerguys9903  10 лет назад

      Link to source code is always available in the description section .. Code : wethecomputerguys.com/2014/08/09/c-practical-and-assignment-programs-armstrong-numbers/

  • @marnusludick2577
    @marnusludick2577 6 лет назад +2

    I do not recommend this guy`s video. This is not the correct way to determine an armstrong number... this will only work with numbers between 100 and 999.
    Correct way to determine if a number is an armstrong number, is to first determine the length of the number provided by the user. The length will be there power to the sum of each individual number.
    You can't assume that the number inserted by the user will always be between 100 and 999. There is armstrong numbers bigger than 1000, thus you have to determine the length of the number, then you can use the pow(number, length) function to get the sum of all the individual numbers, instead of that "sum = sum + UnitsPlace*UnitsPlace*UnitsPlace".
    this video made me cringe...

  • @muazjutt1191
    @muazjutt1191 6 лет назад +1

    Better u first learn by urself

  • @Foodie_till_end
    @Foodie_till_end 6 лет назад

    aare bhai tu khud he confuse hai lagata

  • @muazjutt1191
    @muazjutt1191 6 лет назад +1

    Not useful at all !!