Minggu, Desember 16, 2012

TUGAS 3 WEB PROGRAMING -INPUT NILAI

<html> <head> </head> <body> <div id="form"> <table> <form action="proses_nilai.php" > <tr><td>NIM</td><td><input type="text" name="nim" /></td></tr> <tr><td>Nama</td><td><input type="text" name="nama" /></td></tr> <tr><td>Mata Kuliah</td><td><input type="text" name="makul" /></td></tr> <tr><td>Kehadiran</td><td><input type="text" name="jml_hadir" /></td></tr> <tr><td>Nilai Tugas</td><td><input type="text" name="nilai_tugas" /></td></tr> <tr><td>Nilai UTS</td><td><input type="text" name="nilai_uts"...

TUGAS 3 WEB PROGRAMING -INPUT NILAI

<html> <head> </head> <body> <div id="form"> <? $nim=$_REQUEST["nim"]; $nama =$_REQUEST["nama"]; $makul =$_REQUEST["makul"]; $jml_hadir =$_REQUEST["jml_hadir"]; $nilai_tugas =$_REQUEST["nilai_tugas"]; $nilai_uts =$_REQUEST["nilai_uts"]; $nilai_uas =$_REQUEST["nilai_uas"]; $nilai_akhir = (0.1*($jml_hadir/0.1))+(0.2*$nilai_tugas)+(0.35*$nilai_uts)+(0.35*$nilai_uas); if ($nilai_akhir>=90) { $nilai="A"; } else if ($nilai_akhir>=70) { $nilai="B"; } else if ($nilai_akhir>=50) { $nilai="C"; } else if ($nilai_akhir>=30) { $nilai="<font color=red>D</font>"; } else { $nilai="<font color=red>E</red>"; } echo "<table><tr><td>NIM</td><td>:</td><td>$nim</td></tr> ...

Minggu, Desember 09, 2012

tugas web programing, proses

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php $nim=$_REQUEST['nim']; $nama=$_REQUEST['nama']; $matakuliah=$_REQUEST['matakuliah']; $jmlhadir=$_REQUEST['jmlhadir']; $nilaitugas=$_REQUEST['nilaitugas']; $nilaiuts=$_REQUEST['nilaiuts']; $nilaiuas=$_REQUEST['nilaiuas']; $nilaiakhir=(0.1*($jmlhadir/0.2))+(0.2*$nilaitugas)+(0.35*$nilaiuts)+(0.35*$nilaiuas); echo " NIM = $nim </br> NAMA = $nama </br> MATA KULIAH =  $matakuliah </br> NILAI AKHIR = ".ceil($nilaiakhir); ?> ...

tugas web programing ,input

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form name="input" action="proses.php"> <p>NIM : <input name="nim" type="text" /> <br /> Nama : <input type="text" name="nama" /> <br /> Mata Kuliah : <input type="text" name="matakuliah" /> <br /> Jumlah Hadir : <input type="text" name="jmlhadir" /> <br /> Nilai Tugas : <input type="text" name="nilaitugas" /><br /> Nilai UTS : <input type="" name="nilaiuts" /> <br /> Nilai...

Pages 381234 »
Related Posts Plugin for WordPress, Blogger...
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | JCpenney Printable Coupons