
-----------------------------------
thomasb
Mon Jan 24, 2011 3:16 pm

How can I put this on 1 line
-----------------------------------
This program is to convert from centimetres to inches but I'm not sure how to make that bottom line on the same line as "the length in inches is" 
put"Welcome to converter"
var cent : int
put"Please enter the length in centimetres"
get cent
put"the length in inches is"
put (cent*2.54)

-----------------------------------
TerranceN
Mon Jan 24, 2011 3:19 pm

RE:How can I put this on 1 line
-----------------------------------
You can put a '..' after the put statement, and it will not go to the next line.


put "a"..
put "b"


-----------------------------------
Sur_real
Mon Jan 24, 2011 3:21 pm

Re: How can I put this on 1 line
-----------------------------------
or you can add a comma in between...


put "aa","bb"


-----------------------------------
thomasb
Mon Jan 24, 2011 3:22 pm

RE:How can I put this on 1 line
-----------------------------------
thanks both
