content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
Document
<script>
function carp(){
let s1 = parseInt(document.getElementById('sayi1').value),
s2 = parseInt(document.getElementById('sayi2').value),
carpim = s1 * s2,
sonuc;
console.log(carpim);
if (carpim < 8)
sonuc = 250;
else if (carpim >= 8 && carpim <= 20)
sonuc = 400
else
sonuc = 600;
document.getElementById('sonuc').value = sonuc;
}
</script>