Matrix multiplication: Difference between revisions
Content added Content deleted
(Solved task for language AWK) |
(Blank lines removed) |
||
Line 631: | Line 631: | ||
=={{header|AWK}}== |
=={{header|AWK}}== |
||
⚫ | |||
⚫ | |||
⚫ | |||
# Separate matrices a and b by a blank line |
# Separate matrices a and b by a blank line |
||
BEGIN { |
BEGIN { |
||
Line 685: | Line 684: | ||
function max(m, n) { |
function max(m, n) { |
||
return m > n ? m : n |
return m > n ? m : n |
||
⚫ | |||
} |
|||
</lang> |
|||
<p><b>Input:</b></p> |
<p><b>Input:</b></p> |
||
<pre> |
<pre> |