Friday, March 29, 2019

DDP 5

ddp5a.php
<?php
$teman = "Tono";
if($teman == "Tono"){
echo "dia adalah teman saya";
}else{
echo "dia bukan teman saya";
}
?>

**
ddp5b.php
<?php
$teman = "Tono";
if($teman == "Toni"){
echo "Toni adalah teman saya";
}elseif($teman == "Tono"){
echo "Tono adalah teman saya";
}else{
echo "Saya tidak punya teman";
}
?>

**
ddp5c.php
<?php
$total_belanja = 150;

if($total_belanja > 100){
    echo "Anda dapat bonus!";
}
?>

**
ddp5d.php
<?php

$umur = 10;

if ($umur < 18 ){
    echo "Kamu masih kecil!";
} else {
    echo "Kamu sudah dewasa!";
}
?>


Bitcoin Offers:
Free Bitcoin, Double Bitcoin, Bitcoin Investment, Bitcoin Trading



"Bitcoin and Forex are high risk business. We must join them smartly."

No comments:

Post a Comment