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);
?>
</body>
</html>

0 comments:

Poskan Komentar

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