PHP in HindiProgramming Language

How to Find Largest Value Between Three Value Using PHP?

Problem:- How to Find Largest Value Between Three Value Using PHP?

Solution – Find Largest Value Between Three Value Using PHP

<?php
$a = 100;
$b = 125;
$c = 205;
if($a>$b && $a>$c){
 print "$a is largest";
}else if($b>$a && $b>$c)
	print "$b is largest";
else{
	print "$c is largest";
}
?>

 

Related Articles

Leave a Reply

Your email address will not be published.

Back to top button
Close