Kimlik doğrulama veya yönetimden onay bekliyor.
1. çarpma işlemi kodunu yazdım
s1= parseInt(document.getElementById('sayi1').value);
s2= parseInt(document.getElementById('sayi2').value);
carpim = s1 * s2,
sonuc;
console.log(carpim);
if (carpim < 8)
sonuc = 300;
else if (carpim >= 8 && carpim <= 50)
sonuc = 400
else
sonuc = 500;
document.getElementById('sonuc').value = sonuc;
Bunun altına ekle butonu koymak istiyorum tıklayınca yine bir hesaplama alanı oluşsun 1. ile 2. hesaplama sonuçları toplasın istiyorum nasıl yapabilirim yardım lütfen