1 / 5

Objective: Students will be able to write ASCII art programs

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

eliza
Download Presentation

Objective: Students will be able to write ASCII art programs

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Objective: Students will be able to write ASCII art programs Agenda: Notes Programming Challenges

  2. 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 2. You can put a quote inside a quote: “Program ‘Game Over’ 2.0” Prints: Program ‘Game Over’ 2.0 Single inside double; Double inside single Both work. Can’t use same type inside line.

  3. \ 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

  4. Today’s Programming Assignments • Create ASCII art program or programs

More Related