finding min or max value in php

technical talkiess
0

 this example show you to the finding the 3 array find the min or max value .

3 array me se min aur max value kaise check kare

<?php

$marks1 = array(3602323,3102323,3102323,3302323,3132323,3752323,452326,1123231,252326);

$marks2 = array(350232,3402323,3562323,3302323,3212323);

$marks3 = array(632320,3402323,5723230,6323235,4323232324,223255,2923238);

echo max(max($marks1),max($marks2),max($marks3));

echo "<br>";

echo min(min($marks1),min($marks2),min($marks3));

?> 

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)