--- title: "Salary Scheduling Cost Computation" id: 76596 type: "computer_media" slug: "salary-scheduling-cost-computation" url: "http://localhost/computer_media/salary-scheduling-cost-computation/" markdown_url: "http://localhost/computer_media/salary-scheduling-cost-computation.md" published_at: "2026-11-11T08:02:19+00:00" modified_at: "2026-11-11T08:02:19+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/11/salary-scheduling-cost-computation-1.png" excerpt: "Work out what a school district's teacher salary schedule will cost: enter the salary steps and how many teachers are on each one." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "ZX81" slug: "zx81" taxonomy: "post_tag" url: "http://localhost/tag/zx81/" model: - name: "Sinclair ZX81" slug: "zx81" taxonomy: "model" url: "http://localhost/model/zx81/" - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" indiv: - name: "Robert DeMunbrun" slug: "robert-demunbrun" taxonomy: "indiv" url: "http://localhost/indiv/robert-demunbrun/" genre: - name: "Business" slug: "business" taxonomy: "genre" url: "http://localhost/type/business/" media_type: "Program" programmers: - name: "Robert DeMunbrun" slug: "robert-demunbrun" taxonomy: "indiv" url: "http://localhost/indiv/robert-demunbrun/" download_url: "https://archive.org/download/timex-sinclair-software-archive/Salary%20Scheduling%20Cost%20Computation%20%281982%29%28DeMunbrun%2C%20Robert%29%28TS1000%29%28US%29%28Program%29.zip" mediadate: "1982" images: - url: "http://localhost/wp-content/uploads/2026/11/salary-scheduling-cost-computation-1.png" - url: "http://localhost/wp-content/uploads/2026/11/salary-scheduling-cost-computation-2.png" - url: "http://localhost/wp-content/uploads/2026/11/salary-scheduling-cost-computation-3.png" article_media: - id: 52524 title: "Salary Scheduling Cost Computation" type: "article" url: "http://localhost/article/salary-scheduling-cost-computation/" media_type_tags: "Business" license: false --- # Salary Scheduling Cost Computation Written by a school administrator for salary negotiations. Enter the school’s name, the starting salary and yearly increment for the bachelor’s, master’s and master’s-plus columns, the number of years on each column, and then the number of teachers on each step. The program prints the cost of each step and the total for the whole schedule. Answer YES to ANOTHER COLUMN? to add the master’s-plus column. The prompts and results take more than one screen, so the ZX81 stops with report 5 when the screen is full; enter CONT to go on. It needs 16K. Published in Syntax February 1982 ([Salary Scheduling Cost Computation](https://timexsinclair.com/article/salary-scheduling-cost-computation/)). ## Source Code ``` 1 PRINT TAB 8;"EQUAL INCREMENT" 3 PRINT TAB 8;"SALARY SCHEDULING" 6 PRINT TAB 7;"COST COMPUTATION" 9 PRINT TAB 15;"BY" 12 PRINT TAB 7;"R.M. DEMUNBRUN" 15 PRINT 18 PRINT "SCHOOL CORP NAME?" 19 INPUT A$ 20 PRINT A$ 21 PRINT 24 PRINT TAB 6;"1980 81 SCHOOL YEAR" 27 PRINT 36 PRINT 39 PRINT 41 PRINT "BEG BACH SALARY?" 43 INPUT B 45 PRINT "BACH INCREMENT?" 47 INPUT I1 49 PRINT "BEG MAST SALARY?" 51 INPUT M 53 PRINT "MAST INCREMENT?" 55 INPUT I2 57 PRINT "MAST+ SALARY?" 59 INPUT MA 61 PRINT "MAST+ INCREMENT?" 63 INPUT I3 64 PRINT "YRS BACH COLUMN?" 65 INPUT BY 66 PRINT "YRS MAST COLUMN?" 67 INPUT MY 68 PRINT "YRS MAST+ COLUMN?" 69 INPUT MAY 70 LET N=-1 72 PRINT TAB 1;"DEGREE";TAB 17;"YEARS" 73 PRINT TAB 1;"TEACHERS";TAB 17;"INCREMENTS" 74 PRINT 75 LET TE1=0 95 LET IN1=0 100 LET N=N+1 105 IF N>BY THEN GOTO 190 110 PRINT TAB 1;"BACH";TAB 17;N 120 INPUT NO 130 LET TE1=TE1+NO 140 LET IN=N*NO 150 LET IN1=IN1+IN 170 PRINT TAB 1;NO;TAB 17;IN 180 PRINT 185 GOTO 100 190 LET C=B*TE1 200 LET CIN=IN1*I1 210 LET COST1=C+CIN 220 PRINT TAB 1;"BACH COST";TAB 16;"$";TAB 17;COST1 230 PRINT 240 PRINT TAB 1;"NO. TEACH";TAB 17;TE1 250 PRINT 260 PRINT TAB 1;"NO. INCREMENTS";TAB 17;IN1 280 PRINT 290 LET N=-1 300 LET TE2=0 330 LET IN2=0 340 LET N=N+1 350 IF N>MY THEN GOTO 430 360 PRINT TAB 1;"MAST";TAB 17;N 370 INPUT NO 380 LET TE2=TE2+NO 390 LET IN=N*NO 400 LET IN2=IN2+IN 410 PRINT TAB 1;NO;TAB 17;IN 420 PRINT 425 GOTO 340 430 LET C2=M*TE2 440 LET CIN2=IN2*I2 450 LET COST2=C2+CIN2 460 PRINT TAB 1;"MAST COST";TAB 16;"$";TAB 17;COST2 470 PRINT 480 PRINT TAB 1;"NO. TEACH";TAB 17;TE2 490 PRINT 500 PRINT TAB 1;"NO. INCREMENTS";TAB 17;IN2 510 PRINT 520 PRINT "ANOTHER COLUMN? ""YES"" OR ""NO""" 530 INPUT B$ 540 IF B$="YES" THEN GOTO 600 550 LET TC1=COST1+COST2 560 PRINT TAB 1;"SCHEDULE COST";TAB 16;"$";TAB 17;TC1 580 LET TEA=TE1+TE2 590 PRINT TAB 1;"NO. TEACHERS";TAB 17;TEA 595 GOTO 900 600 LET N=-1 610 LET TE3=0 640 LET IN3=0 645 LET C=0 650 LET N=N+1 660 IF N>MAY THEN GOTO 740 670 PRINT TAB 1;"MAST+";TAB 17;N 680 INPUT NO 690 LET TE3=TE3+NO 700 LET IN=N*NO 710 LET IN3=IN3+IN 720 PRINT TAB 1;NO;TAB 17;IN 730 PRINT 735 GOTO 650 740 LET C=MA*TE3 750 LET CIN3=IN3*I3 760 LET COST3=C+CIN3 770 PRINT TAB 1;"MAST+ COST";TAB 16;"$";TAB 17;COST3 780 PRINT 790 PRINT TAB 1;"NO. TEACH";TAB 17;TE3 800 PRINT 810 PRINT TAB 1;"NO. INCREMENTS";TAB 17;IN3 820 PRINT 825 PRINT 830 LET TEACH=TE1+TE2+TE3 840 PRINT TAB 1;"TOT. TEACH";TAB 17;TEACH 850 PRINT 860 LET TC2=COST1+COST2+COST3 870 PRINT TAB 1;"SCHEDULE COST";TAB 16;"$";TAB 17;TC2 900 STOP ```