A+B: Difference between revisions

Content added Content deleted
(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
(1-based index)
Line 2,195: Line 2,195:
=={{header|EasyLang}}==
=={{header|EasyLang}}==
<syntaxhighlight lang="text">a$ = input
<syntaxhighlight lang="text">a$ = input
i = 1
while i < len a$ and substr a$ i 1 <> " "
while i < len a$ and substr a$ i 1 <> " "
i += 1
i += 1
.
.
a = number substr a$ 0 i
a = number substr a$ 1 i
b = number substr a$ i -1
b = number substr a$ i -1
print a + b
print a + b