function solveMeFirst($a,$b){
return $a + $b;
}
$handle = fopen ("php://stdin","r");
$_a = fgets($handle);
$_b = fgets($handle);
//solution
$sum = solveMeFirst((int)$_a,(int)$_b);
print ($sum);
fclose($handle);
?>
Subscribe to:
Post Comments (Atom)
0 Response to "Complete the function solveMeFirst to compute the sum of two integers."
Post a Comment