Computer Science, asked by sarathchandragunda, 1 month ago

Write a JavaScript program to find all the 3 digit armstrong numbers.

Answers

Answered by Anonymous
8

Answer:

Live Demo:

for (var i = 1; i < 10; ++i)

for (var j = 0; j < 10; ++j)

for (var k = 0; k < 10; ++k)

var pow = (Math. pow(i,3) + Math. pow(j,3) + Math. pow(k,3)); var plus = (i * 100 + j * 10 +

Pls mark me as brainliest ❤️❤️

Similar questions