Posted: Mon Jan 24, 2011 3:16 pm Post subject: 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)
Sponsor Sponsor
TerranceN
Posted: Mon Jan 24, 2011 3:19 pm Post subject: 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.
Turing:
put"a"..
put"b"
Sur_real
Posted: Mon Jan 24, 2011 3:21 pm Post subject: Re: How can I put this on 1 line
or you can add a comma in between...
Turing:
put"aa","bb"
thomasb
Posted: Mon Jan 24, 2011 3:22 pm Post subject: RE:How can I put this on 1 line