Question: A mistake is found in ___________. ( Put the line # of the statement as your answer ) The corrected statement is _______________________________________________.
$name = "John"; //Line 1
$age = 30; //Line 2
$gender = "M"; //Line 3
if($gender == 'M') //Line 4
$print = 'man'; //Line 5
$person_info = "$name. is a . $age . years old . $print; " //Line 6
echo $person_info; //Line 7
?>
- A mistake is found in ___________. (Put the line # of the statement as your answer)
- The corrected statement is _______________________________________________.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
