<?php
///WAP to find the greatest number among three number;
$a=3;
$b=5;
$c=7;
if($a>$b&&$a>$c)
{
echo "a is greater".$a;
}
else if ( $b>$c&&$b>$a)
{
echo "b is gretarer".$b;
}
else
{
echo " c is greater".$c;
}
Output:-
Output:-
Copyright (c) 2020 The Engineer's Choice All Rights Reserved
No comments:
Post a Comment
theengineerschoice01@gmail.com