Assignment 2: Bayside Address and Motto
Description
Displaying information is typically the first programming concept covered in any computer science course. Though languages differ in the actual instruction to display information, it is typically something obvious such as print or write. There are certain characters that require special attention in order to display.
Task
Create a program that displays the school's address and motto as shown below using only one display statement. Note that the address is tabbed in but the school name and motto are not. This assignment will challenge you to use escape characters. Include in your program a comment with your name and a description of the program.
Bayside High School
32-24 Corporal Kennedy St
Bayside NY 11361
"Bayside Gets It Done"
Post a screen capture of your program being executed.
Post a screen capture of the code.
Question
1) List all the escape characters used in this assignment and the purpose.
\n new line
\t tab
\" write "
2) What other escape characters are available?
\'
\(
\)
\?