PHP in HindiProgramming Language

How to Find Largest Value Between Two Value Using PHP?

Problem:- How to Find Largest Value Between Two Value Using PHP? This is common example.

Solution – Find Largest Value Between Two Value Using PHP

<?php
$a = 10;
$b = 15;
if($a>$b){
 print "$a is largest";
}else{
	print "$b is largest";
}
?>

 

Related Articles

Leave a Reply

Your email address will not be published.

Back to top button
Close