If $a = “Ape” and $b = 3 the result of $a x $b is

Options
- error
- Ape3
- ApeApeApe
- 3Ape


CORRECT ANSWER : ApeApeApe

Discussion Board
RE: Hmmm...

James, you used $a * $b, but the question asks $a x $b

Sam Williams 02-10-2016 05:35 AM

Hmmm...

james@silverbox ~ $ perl -e '$a = "Ape"; $b = 3; print $a * $b, "\n";'
0

James Moser 08-26-2015 09:58 PM

Write your comments

 
   
 
 

Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement