<?php
$num1=20;
$num2=15;
$num3=22;
if($num1>$num2 && $num1>$num3){ echo $num1;
}
else{
if($num2>$num1 && $num2>$num3){ echo $num2;
}
else
echo $num3;
}
?>
Output :
22
<?php
$num1=20;
$num2=15;
$num3=22;
if($num1>$num2 && $num1>$num3){ echo $num1;
}
else{
if($num2>$num1 && $num2>$num3){ echo $num2;
}
else
echo $num3;
}
?>
Output :
22
Hello, my name is G Krishna. I'm Creating this blog for the students who are beginners.
Learn More →
No comments:
Post a Comment