14.04
This commit is contained in:
30
Zadania/Z02 - Średnia arytmetyczna/index.html
Normal file
30
Zadania/Z02 - Średnia arytmetyczna/index.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Zadanie 02 - Średnia arytmetyczna</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Zadanie 2</h1>
|
||||
<h2>Autor: Jakub Grzegorczyk</h2>
|
||||
</header>
|
||||
<div class="block">
|
||||
<p>Napisz program, który dla czterech liczb rzeczywistych oblicza i wyświetla ich średnią arytmetyczną. Wynik wyświetl w dwóch postaciach. Bez zaokrąglenia oraz z zaokrągleniem do trzech miejsc po przecinku.</p>
|
||||
</div>
|
||||
<div class="block">
|
||||
<form action="wynik.php" method="post">
|
||||
<label for="a">Podaj a:</label><br>
|
||||
<input type="number" id="a" name="a" required><br>
|
||||
<label for="b">Podaj b:</label><br>
|
||||
<input type="number" id="b" name="b" required><br>
|
||||
<label for="c">Podaj c:</label><br>
|
||||
<input type="number" id="c" name="c" required><br>
|
||||
<label for="d">Podaj d:</label><br>
|
||||
<input type="number" id="d" name="d" required><br>
|
||||
<input type="submit" value="Działaj"><br>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user