WEEK24 - 30 LET A = A C 40 LET C = C 1 50 IF C<= 24 THEN...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 LIST 1 REM MATTHEW HEELAN 2/20/07 SECTION: D1 2 REM PROBEM #2 INSTRUCTOR: COACH 3 REM A YOUNG MANS SALARY ON THE 24TH WEEK AFTER STARTING AT ONE CENT AND DOUBLING EACH WE E 10 LET A = 0 20 LET C = 1 21 LET X = 1 22 LET X = 2 * X
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 30 LET A = A + C 40 LET C = C + 1 50 IF C <= 24 THEN GOTO 22 55 PRINT " THE YOUNG MANS SALARY FOR THE 24TH WEEK = " 60 END Ok RUN THE YOUNG MANS SALARY FOR THE 24TH WEEK = 16777216 CENTS Ok Sheet1 Page 2 X " " "CENTS"...
View Full Document

This note was uploaded on 02/19/2009 for the course CS 160 taught by Professor Coach during the Spring '06 term at Santa Barbara City.

Page1 / 2

WEEK24 - 30 LET A = A C 40 LET C = C 1 50 IF C<= 24 THEN...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online