Morlom

Zadanie 8

Dec 6th, 2021
699
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. var suma = 0;
  3.  
  4.         for (let i = 1; i <= 10; i++) {
  5.             suma += i * i;
  6.         }
  7.  
  8.         document.write("Ilość cegieł w piramidzie wynosi: " +suma);
  9. </script>
RAW Paste Data