Untitled
Guest 75 26th Nov, 2024
<!DOCTYPE html>
<html lang="pl-PL">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Script-Type" content="text/javascript">
</head>
<body>
<h1>
<script type="text/javascript">
var r = Number(prompt("Podaj wartość promienia okręgu: "));
var x = 3.14;
function iloczynDwochLiczb(r, x) {
return x * r;
}
var wynik = iloczynDwochLiczb(r, x);
document.write("Pole koła to: " + wynik);
</script>
</h1>
</body>
</html>
To share this paste please copy this url and send to your friends
RAW Paste Data