Whats the error | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 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 Antworten
+ 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