write a program in PHP to find the greatest number among three numbers
Share
write a program in PHP to find the greatest number among three numbers
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
PHP Program to find out the largest of three numbers
php $num1=20; $num2=15; $num3=22; if($num1>$num2 && $num1>$num3){ echo $num1; } else{ if($num2>$num1 && $num2>$num3){ echo $num2; } else echo $num3; } ?> This will echo out the largest number of those three numbers.
Answer:
abbbbb tu khud hee kch ni bol rhe
phr khege answer toh krdde krr