Upload
eliza
View
51
Download
0
Embed Size (px)
DESCRIPTION
Objective: Students will be able to write ASCII art programs. Agenda: Notes Programming Challenges. Strings and Quotes. Single (‘) and double quotes (“) around a line of letters and or numbers creates a string. Example: “Game Over” or ‘Game Over’ Both are the same. Prints the same - PowerPoint PPT Presentation
Citation preview
Objective: Students will be able to write ASCII art programs
Agenda:• Notes
• Programming Challenges
Strings and Quotes
1. Single (‘) and double quotes (“) around a line of letters and or numbers creates a string. Example: “Game Over” or ‘Game Over’
Both are the same. Prints the same
2. You can put a quote inside a quote:“Program ‘Game Over’ 2.0”Prints: Program ‘Game Over’ 2.0Single inside double; Double inside singleBoth work. Can’t use same type inside line.
\ Line continuation character
• Continues statement on the next line• Print \• Computer will see one long line of code• Example: Game Over Version 2.0 Program• Triple quotes used for multiple line quotes
• ASCII art: pictures made from characters on the keyboard
Today’s Programming Assignments
• Create ASCII art program or programs