If Variable 1,2 and 3 have the values 3,5 and 7 respectively,
select the correct sequence of equations that will result in placing values
12 in variable 1
and
15 in variable 3
(Use only ADD operator)
$var1 = 3;
$var2 = 5;
$var3 = 7;
//anser 12
echo $var1 = $var2 + $var3;
echo $var3 = $var3 + $var1;
//here i need to ge 15 for var 3
//but var1 value now 12 so anser is 19 (wrong)
1 Answer