+ 3

Whats the error

i want to find armstrong number upto the term inserted, but the program does not run properly https://code.sololearn.com/c3T13L412xzA/?ref=app

7th Nov 2018, 6:51 AM
Walker
Walker - avatar
2 Respuestas
+ 10
1. Reduce the array limit 2. Initialize the variable y to 0 i.e. y=0 3. For printing the Armstrong numbers write i<y in the condition
7th Nov 2018, 3:27 PM
Nova
Nova - avatar
+ 2
Keval thanks bro!
8th Nov 2018, 1:51 AM
Walker
Walker - avatar