<?php
//WAP to check the given number is
either positive or negative using php.
$a=-9;
if($a>0)
{
echo "positive".$a;
}
elseif($a==0)
{
echo "positive".$a;
}
else{
echo "negative".$a;
}
?>
Output:-
Output:-
We are the team of The Engineers Choice Group. We are two people Anish & Shiva..Anybody Interested to learn Something then contact us in facebook page , my whatsapp number 9807100890 and Email theengineerschoice01@gmail.com
Copyright (c) 2020 The Engineer's Choice All Rights Reserved
No comments:
Post a Comment
theengineerschoice01@gmail.com