top of page
Writer's pictureThe Tech Platform

Write a Program to find the Minimum and Maximum Number from the list using PHP.


Code:

<!DOCTYPE html>
<html>
<body>

<?php
echo("Minimum Value from (42, 243, 532, 200, -80, -35)= " . min(42, 243, 532, 200, -80, -35) . "<br>". "<br>");
echo("Maximum Value from (42, 243, 532, 200, -80, -35)= " . max(42, 243, 532, 200, -80, -35));
?>

</body>
</html>

Output:






Sofia Sondh

The Tech Platform

0 comments

Recent Posts

See All

コメント


bottom of page