RosettaCodeData/Task/A+B/BASIC256/a+b.basic

5 lines
122 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
dim a(2)
input "Enter two numbers separated by a space?", t$
a = explode(t$," ")
print t$ & " " & int(a[0]) + int(a[1])