Turing 004 — Concatenation

By appending two periods (“..”) to a put statement, the next put statement will print its output on the same line as the first statement. Example:

 

put "tom"..

put "boy"

 

...prints "tomboy" on the screen.

Assignment

Add a line to 003.t that prints your last name after your first name. Be sure it prints on the same line. Add another line to your program so there is a space between your first name and your last name.

 

Save as "004.t".

 

The word "concatenation" simply means "to arrange (strings of characters) into a chained list". [source]