my assignment is to make a program that prints the n-th Armstrong number. this is what i have so far but for some reason it's not working
my assignment is to make a program that prints the n-th Armstrong number. this is what i have so far but for some reason it's not working
What's an "Armstrong number"? What's the nth Armstrong number?
In what way is your program "not working"?
Why does j go from 152 to 1000000? Why does i go from 10 to 25 (over and over again)?
Why did you post your code as a picture? We can't copy/paste/run your code from a picture. Use code tags:
[code]
your
code
here
[/code]