@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.
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
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!
Link to source code is always available in the description section .. Code : wethecomputerguys.com/2014/08/09/c-practical-and-assignment-programs-armstrong-numbers/
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...
@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.
Awesome, thank you for explaining everything so quickly and speeding up the video.
great sir, very well explained 👍👍
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
correct me if i'm wrong but i think this only works on 3 digit numbers right ?
can you plzzz.....explain why we are using while loop here.....is it possible to use if else for finding armstrong number????
it's really superb!!!!!!!!
why cant you try for patterns and series
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!
What is that compiler you using ?
Nice one.....but Can you do it in HTML and upload video?
excellent......very much helpful
thx dude u r a god much love
Thank you well explained
nice explain, awesome
Thankyou ^^ you've been helpful !
can you make a video of C program to reverse all nos. in an array and print in words the same?
Sorry did not get the " print words the same" part can you explain with sample input and output
input: 23 45 827 69
output: thirty two , fifty four , sevenhundered twenty eight , ninenty six
thanks for the logic bro!
what if user enter number contain two digit !! your code will not give proper result.
what if we don't know how many digits are there in original number?
Please upload 21 matchstick program.
thankyou so much
thank you..
can you show it on matlab
Tq
sir how can i download ur code sir
Link to source code is always available in the description section .. Code : wethecomputerguys.com/2014/08/09/c-practical-and-assignment-programs-armstrong-numbers/
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...
Better u first learn by urself
aare bhai tu khud he confuse hai lagata
Not useful at all !!