SUPERMAN IS DEAD

Blog ini menyediakan lagu,video,gambar dan banyak lagi yang berhubungan dengan SUPERMAN IS DEAD buat para OUTSIDERS di semua Indonesia.

SKA SKA SKA

Buat Brada dan Sista dalam blog ini berisi apapun yang mengenai dengan band SKA.

REGGAEMAN

Dalam Blog ini memuat segala sesuatu tentang Reggae buat para Reggaeman.

SOFTWARE GRATIS

Blog ini menyediakan berbagai macam software yang gratis untuk di download.

BERITA BOLA

Menyediakan berita bola dari seluruh penjuru.

Kamis, 27 Desember 2012

TUGAS WEB PROGRAMING IF ELSE . .

<!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>

<h1> NILAI AKHIR MAHASISWA </h1>
<?
    $nim         =  $_REQUEST['nim']  ;
    $nama        =  $_REQUEST['nama'] ;
    $makul       =  $_REQUEST['makul'] ;
    $jumlah     =  $_REQUEST['jumlah'] ;
    $tugas       =  $_REQUEST['tugas'] ;
    $uts         =  $_REQUEST['uts'] ;
    $uas         =  $_REQUEST['uas'] ;
    
    echo 'NIM =';
    echo "$nim<br>";
    echo 'NAMA =';
    echo "$nama<br>";   
    echo 'MATA KULIAH =';
    echo "$makul<br>";
    echo 'KEHADIRAN =';
    echo "$jumlah<br>";
    echo 'NILAI TUGAS =';
    echo "$tugas<br>";
    echo 'NILAI UTS =';
    echo "$uts<br>";
    echo 'NILAI UAS =';
    echo "$uas<br>";
    $akhir=((0.1*$jumlah)+(0.2*$tugas)+(0.35*$uts)+(0.35*$uas));
    echo 'NILAI AKHIR =';
    echo "$akhir";
    if($akhir>=90)
    {
        echo "<h2>NILAI ANGKA = A </h2>";
    }
    else if($akhir>=80)
    {
        echo "<h2> NILAI ANGKA = A- </h2>";
    }
    else if($akhir>=75)
    {
        echo "<h2> NILAI ANGKA = B+ </h2>";
    }
    else if($akhir>=70)
    {
        echo "<h2> NILAI ANGKA = B </h2>";
    }
    else if($akhir>=65)
    {
        echo "<h2> NILAI ANGKA = B- </h2>";
    }
    else if($akhir>=60)
    {
        echo "<h2> NILAI ANGKA = C+ </h2>";
    }
    else if($akhir>=50)
    {
        echo "<h2> NILAI ANGKA = C- </h2>";
    }
    else if($akhir>=30)
    {
        echo "<h2> NILAI ANGKA = D </h2>";
    }
    else if($akhir<=29)
    {
        echo "<h2> NILAI ANGKA = E </h2>";
    }
    else 
    {
        echo "DATA BELUM< DIINPUT";
    }
   
    if($akhir>=60)
    {
        echo "<h2>SELAMAT ANDA LULUS </h2>";
    }
    else
    {
        echo "<h2>MAAF ANDA TIDAK LULUS </h2>";
    }
   
    ?>
    <p align="left"><a href=input.php>Kembali</a></p>
    
    

</body>
</html>

Minggu, 09 Desember 2012

TUGAS WEB PROGRAMMING "OUTPUT"

<!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>

<h1> NILAI AKHIR MAHASISWA </h1>
<?
    $nim         =  $_REQUEST['nim']  ;
    $nama        =  $_REQUEST['nama'] ;
    $makul       =  $_REQUEST['makul'] ;
    $jumlah     =  $_REQUEST['jumlah'] ;
    $tugas       =  $_REQUEST['tugas'] ;
    $uts         =  $_REQUEST['uts'] ;
    $uas         =  $_REQUEST['uas'] ;
  
    echo 'NIM =';
    echo "$nim<br>";
    echo 'NAMA =';
    echo "$nama<br>"; 
    echo 'MATA KULIAH =';
    echo "$makul<br>";
    echo 'KEHADIRAN =';
    echo "$jumlah<br>";
    echo 'NILAI TUGAS =';
    echo "$tugas<br>";
    echo 'NILAI UTS =';
    echo "$uts<br>";
    echo 'NILAI UAS =';
    echo "$uas<br>";
    $akhir=((0.1*$jumlah)+(0.2*$tugas)+(0.35*$uts)+(0.35*$uas));
    echo 'NILAI AKHIR =';
    echo "$akhir";
    ?>
    <p align="left"><a href=input.php>Kembali</a></p>
  
  

</body>
</html>

TUGAS WEB PROGRAMMING "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>
<form nama= "unisbank" action= "nilai_akhir.php">
<h1> DATA MAHASISWA </h1>
NIM         : <input type ="text" name="nim" />  <br>
Nama        : <input type="text" name="nama"  /> <br>
Mata Kuliah : <input type="text" name="makul"  /> <br>
Kehadiran   : <input type="text" name="jumlah"  /> <br>
Nilai Tugas : <input type="text" name="tugas"  /> <br>
Nilai UTS   : <input type="text" name="uts"  /> <br>
Nilai UAS   : <input type="text" name="uas"  /> <br>
<input type ="submit" value="NILAI AKHIR"/>
</form>

<body>
</body>
</html>

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites