Php code


#1

php function return array if question is write a program called check marks which print “pass” if the int variable mark is more than 50 or print “fail” otherwise


#2
<?php

$mark = 90;

if ($mark>50) {
    echo "Pass";
}else{
    echo "Fail";
}

?>

If I understand the question correctly?