Answer:

Cross patch, draw the latch,
Sit by the fire and spin.

The characters (including punctuation) inside the quote marks are printed. The quote marks are not printed.

Strings and Arithmetic in Print Statements

A PRINT statement can print more than one item. Examine the following program.

' Printing two items
PRINT "The sum of 1 plus 10 is", 1 + 10
END

The PRINT statement has two items to print:

The two items are separated by a comma). When the program runs it prints the following to the monitor:

The sum of 1 plus 10 is   11

The string is printed unchanged, character for character. The next item is separated from the first with some spaces, then the result of the arithmetic is printed. It is useful to list two (or more) items in one PRINT statement.

QUESTION 11:

Here is a program that calculates 12 times 12. The program prints a sting and then prints the answer. But is the program correct?

' Compute 12 times 12
PRINT "The square of 12" is 12*12
END