Intro to Computers Recitation Notes Feb. 12 2008

# Intro to Computers Recitation Notes Feb. 12 2008 - ? 1...

This preview shows pages 1–2. Sign up to view the full content.

INTRO TO COMPUTERS RECITATION NOTES FEB. 12, 2008 3 Statements learned so far: REM, PRINT, END 3 New Statements: INPUT (Input Prompt), READ / DATA, LET Fundamentals (Value): Number- Any integer (10, -5, 5.87) String- "Hello" "10" "Bob" Fundamentals (Variable): Number- Sum, X, Average (Ex. Sum --> 22) String- Name\$, X\$ (Ex. Name\$ --> "1234") Input: SOURCE WINDOW OUTPUT WINDOW MEMORY REM Exercise Input X ? 3 (Enter) X = 3 Input X ? 2 (Enter) X = 2 Input Y

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ? 1 (Enter) Y = 1 PRINT X;Y 2 1 INPUT PROMPT &quot;Tell me a number&quot;:a Tell me a number? 4 a = 4 INPUT PROMPT &quot;Enter a name&quot;:name\$ Enter a name? Bob name\$ = Bob Print a;name\$ 4 Bob END READ / DATA: SOURCE WINDOW OUTPUT WINDOW MEMORY REM Exercise DATA 4 READ X Y READ 3 DATA 2, 6, &quot;Bob&quot; READ name\$ LET X = 3 X = 3 LET X = 2 + 3 Y = 5 LET X = X + Y X = 8 PRINT 2 2 PRINT &quot;Hello&quot; Hello PRINT X 8 PRINT Name\$ Bob PRINT X + Y 13...
View Full Document

## Intro to Computers Recitation Notes Feb. 12 2008 - ? 1...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online