Question: Fill in the blanks complete the PHP program to get the output as shown below. [2.5 marks] (WRITE THE LINE NUMBER ALONG WITH YOUR ANSWER
Fill in the blanks complete the PHP program to get the output as shown below. [2.5 marks] (WRITE THE LINE NUMBER ALONG WITH YOUR ANSWER CODE IN YOUR ANSWER SHEET) " " 1 Calculate Force ". 3 echo " = " force(5,3).' " 4 echo "Force, if M is 12 & Ais 10 = ". force(12.10) " "; 5 echo "Force, if Mis 30 & Ais 15 = ". 6 function 7 8 $f = $m $a; 9 return 10} 11 ?> Output: Calculate Force Force, if M is 5 & A is 3 = 15 Force, if M is 12 & Ais 10 = 120 Force, if M is 30 & A is 15 = 450
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
