A Ladder Rung Problem

Developer(s): Dick Wagner
Date: 1994
Type: Program
Platform(s): TS 2068
Tags: Education

A story problem for the screen: a firefighter on the middle rung of a ladder goes up three rungs, down five, up seven and then up the last six to the roof. How many rungs does the ladder have? Type your answer; a wrong one gets WRONG. TRY AGAIN., the right one RIGHT, THE ANSWER IS 23! NOW EXPLAIN YOUR REASONING.

RUN 400 shows the author’s working: the rungs above the middle one, doubled, plus the middle rung.

The problem came from a newspaper article about mathematics in Oregon schools.

Published in The Plotter August 1994 (A Ladder Rung Problem).

Image Gallery

Source Code

   1 REM
  10 REM DICK WAGNER 7/27/94
 100 PRINT "STORY PROBLEM"
 200 PRINT "A firefighter stood on the mid- dle rung of a ladder pouring    water on a burning building. As the smoke cleared, he stepped upthree rungs."
 205 PRINT
 210 PRINT "But a sudden flair-up forced himdown five rungs. Later he       climbed seven rungs where he    worked until the fire was out."
 215 PRINT
 220 PRINT "Then he climbed the remaining   six rungs to the top of the     ladder and stood on the roof."
 225 PRINT : PRINT "Give your answer as 2 digits."
 230 PRINT "How many rungs did the lad-     der have?"
 310 INPUT R
 315 PRINT : PRINT R: PRINT
 320 IF R <23 OR R>23 THEN PRINT "WRONG. TRY AGAIN.": GO TO 225
 330 IF R=23 THEN PRINT "RIGHT, THE ANSWER IS 23! NOW EXPLAIN YOUR REASONING."
 380 STOP
 390 REM RUN 400 TO CALCULATE THE ANSWER
 400 REM B IS THE CENTER RUNG
 410 LET B=0
 420 LET C=B+3: REM  UP 3 RUNGS
 430 LET D=C-5: REM  DOWN 5 RUNGS
 440 LET E=D+7: REM  UP 7 RUNGS
 450 LET F=E+6: REM  UP 6 RUNGS
 460 LET R=F*2+1: REM  SUM OF RUNGS ABOVE MIDDLE RUNG X 2 + MIDDLE RUNG
 470 PRINT R

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.