CIS 230 - Visual Basic
Ch. 7 Worksheet #3
Describe the printed output of the following code segment as carefully as possible on a
piece of paper. (Use graph paper if possible.) Create a VB program to check your answers.
Printer.Print "Visual"; "Basic"
Printer.Print "Visual "; "Basic"
Printer.Print "Class"; Tab(2); "Canceled"
Printer.Print Tab(2); "No"; Tab(10); "Free"; Tab(20); "A's"
Printer.Print
Printer.Print "The"
Printer.Print Spc(3); "Book"
Printer.Print Spc(7); "Is"
Printer.Print Spc(9); "Wrong"
Printer.Print Spc(14); "Again"
Printer.Print "The"; Spc(8); "Is"; Spc(1); "Wrong"; Spc(1);
"Again"