09_ for 练习 _ FlowerNumber
-
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Flower Number.</title> </head> <body> <script type="text/javascript"> var i = 100; var sum = 0; var ge; var shi; var bai; document.write("The Flower Number have <br />"); for(i=100; i<=999; i++) { ge = i%10; shi = parseInt(i%100/10); bai = parseInt(i/100); if(i == (ge*ge*ge+shi*shi*shi+bai*bai*bai)) { document.write(i+"<br />"); } } </script> </body> </html>
--------小尾巴
________一个人欣赏-最后一朵颜色的消逝-忠诚于我的是·一颗叫做野的心.决不受人奴役.怒火中生的那一刻·终将结束...