document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="utf-8">
  5.         <title>Kalkulator</title>
  6.     </head>
  7.     <body>
  8.         <h2>Aplikasi Sederhana Kalkulator</h2>
  9.         <form action="proses.php" method="post">
  10.             <table>
  11.               <tr>
  12.                 <td>Angka Pertama</td>
  13.                     <td>:</td>
  14.                     <td> <input type="number" name="angka1" value="" placeholder="Angka Pertama"> </td>
  15.               </tr>
  16.                 <tr>
  17.                 <td>Operator</td>
  18.                     <td>:</td>
  19.                     <td>
  20.                         <select name="operator">
  21.                             <option value="kali">*</option>
  22.                             <option value="bagi">/</option>
  23.                             <option value="tambah">+</option>
  24.                             <option value="kurang">-</option>
  25.                         </select>
  26.                     </td>
  27.               </tr>
  28.                 <tr>
  29.                 <td>Angka KeDua</td>
  30.                     <td>:</td>
  31.                     <td> <input type="number" name="angka2" value="" placeholder="Angka KeDua"> </td>
  32.               </tr>
  33.                 <tr>
  34.                     <td colspan="3"> <input type="submit" value="Proses"> </td>
  35.               </tr>
  36.             </table>
  37.         </form>
  38.     </body>
  39. </html>
');