Berikut adalah contoh script PHP sederhana untuk menghitung volume tabung dengan input manual dari pengguna:
```php
<!DOCTYPE html>
<html>
<head>
<title>Hitung Volume Tabung</title>
</head>
<body>
<h2>Hitung Volume Tabung</h2>
<form method="post" action="">
<label for="radius">Radius (r):</label><br>
<input type="text" id="radius" name="radius" required><br><br>
<label for="height">Tinggi (h):</label><br>
No comments:
Post a Comment