RosettaCodeData/Task/A+B/BASIC/a+b-4.basic

5 lines
122 B
Text
Raw Permalink Normal View History

2013-04-10 16:19:29 -07:00
dim a(2)
2019-09-12 10:33:56 -07:00
input "Enter two numbers separated by a space?", t$
2013-04-10 16:19:29 -07:00
a = explode(t$," ")
2020-02-17 23:21:07 -08:00
print t$ & " " & int(a[0]) + int(a[1])