Turing 022 — Get II
A “get” command is used to get information from the user and store it in a variable. The following program asks for and gets a user’s name:
var name : string
put "What is your name? "..
get name
put "Your name is ", name
Note that a comma (",") is used to print more than one thing from a single put statement.
Assignment
Write a program that asks for and prints your first and last names. Use the variable names "FName" and "LName".
Save as "022.t".