Basic Salary Scheduling

Author(s): Robert DeMunbrun
Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v2 n1 (Volume 2, Issue 1)
Date: January 1981
Pages: 3

Calculate salaries that increment on a straight-line basis using this scheduling program. This example uses teachers’ salaries for a fictitious school based on education (bachelors, masters, and masters plus 30 hours credit) and years of experience. Lines 70, 80 and 85 specify the dollar increments.

After typing in the program, hit RUN (NL) to get the first screenful of data. Then press CONT twice (you will get the program listing after pressing CONT once, but just press it again) then (NL) to see the rest of the data. (Line 5–SCHOOL is 1 word. Line 7–put a space between SALARY and SCHEDULE.)

   5 PRINT "       CIRCLEVILLE SCHOOLS"
7 PRINT " 1980-81 SALARYSCHEDULE"
10 PRINT "YRS","BACH","MAST","M+30"
20 LET N=0
30 LET B=10000
40 LET M=11100
45 LET M1=12000
50 PRINT N,B,M,M1
60 LET N=N+1
70 LET B=B+227
80 LET M=M+281
85 LET M1=M1+311
90 IF N=12 THEN GO TO 500
100 PRINT N,B,M,M1
110 GO TO 60
500 PRINT N,B,M,M1
510 LET N=N+1
520 IF N=19 THEN GO TO 700
530 LET M=M+281
540 PRINT N,,M,M1
550 GO TO 510
700 LET M1=M1+311
710 LET N=N+1
720 IF N=26 THEN GO TO 900
730 PRINT N,,,M1
740 GO TO 710
900 STOP

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