A+B: Difference between revisions
Content added Content deleted
m (→{{header|PureBasic}}: 'file' added) |
(alphabetical) |
||
Line 221: | Line 221: | ||
3 4 |
3 4 |
||
-> 7</lang> |
-> 7</lang> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|PureBasic}}== |
=={{header|PureBasic}}== |
||
Line 260: | Line 254: | ||
{{works with|Ruby|1.8.7+}} |
{{works with|Ruby|1.8.7+}} |
||
<lang ruby>puts gets.split.map(&:to_i).inject(&:+)</lang> |
<lang ruby>puts gets.split.map(&:to_i).inject(&:+)</lang> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|SNOBOL4}}== |
=={{header|SNOBOL4}}== |