Ethiopian multiplication: Difference between revisions
Content added Content deleted
(Added ActionScript) |
(→{{header|ActionScript}}: Marked incorrect as the task asks for three functions to be defined and used in the solution) |
||
Line 52: | Line 52: | ||
=={{header|ActionScript}}== |
=={{header|ActionScript}}== |
||
{{incorrect|ActionScript|Task asks for three functions to be defined and used in the solution.}} |
|||
<lang ActionScript>public function Multiply(a:int,b:int):int { |
<lang ActionScript>public function Multiply(a:int,b:int):int { |
||
var res:int = 0; |
var res:int = 0; |
||
Line 61: | Line 62: | ||
return res; |
return res; |
||
}</lang> |
}</lang> |
||
=={{header|Ada}}== |
=={{header|Ada}}== |
||
<lang Ada>package Ethiopian is |
<lang Ada>package Ethiopian is |