--- title: "House Payments" id: 79546 type: "computer_media" slug: "house-payments" url: "http://localhost/computer_media/house-payments/" markdown_url: "http://localhost/computer_media/house-payments.md" published_at: "2026-11-22T19:36:03+00:00" modified_at: "2026-11-22T19:36:03+00:00" featured_image: url: "http://localhost/wp-content/uploads/2026/11/house-payments-1.png" excerpt: "Compares the payments and total cost of two home loans on one screen." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "Bill Gunter" slug: "bill-gunter" taxonomy: "indiv" url: "http://localhost/indiv/bill-gunter/" genre: - name: "Finance" slug: "finance" taxonomy: "genre" url: "http://localhost/type/finance/" media_type: "Program" programmers: - name: "Bill Gunter" slug: "bill-gunter" taxonomy: "indiv" url: "http://localhost/indiv/bill-gunter/" download_url: "https://archive.org/download/timex-sinclair-software-archive/House%20Payments%20%281985%29%28Gunter%2C%20Bill%29%28TS2068%29%28Program%29.zip" tsrun_member: "House Payments (1985)(Gunter, Bill)(TS2068)(Program)/House Payments (1985)(Gunter, Bill)(TS2068)(Program).tap" mediadate: "1985" images: - url: "http://localhost/wp-content/uploads/2026/11/house-payments-1.png" - url: "http://localhost/wp-content/uploads/2026/11/house-payments-2.png" article_media: - id: 43754 title: "House Payments" type: "article" url: "http://localhost/article/house-payments-2/" - id: 36025 title: "House Payments" type: "article" url: "http://localhost/article/house-payments/" media_type_tags: "Finance" license: false --- # House Payments Compares home loans: from the amount, years, yearly interest rate and payments per year it shows the payment and the total cost, two loans to a screen. RUN and answer the four questions for each loan, then press C for two more. The rate must be more than 0. First printed in [Time Designs, March/April 1985](https://timexsinclair.com/article/house-payments/). Published in LISTing November 1990 ([House Payments](https://timexsinclair.com/article/house-payments-2/)). ## Source Code ``` 5 LET Z=0 6 BORDER 1: PAPER 6: INK 0 9 CLS 10 PRINT "AMOUNT? "; 20 INPUT A 30 PRINT A 40 PRINT "YEARS? "; 50 INPUT Y 60 PRINT Y 70 PRINT "INTEREST? "; 80 INPUT I 90 PRINT I 100 PRINT "PERIODS? "; 110 INPUT PER 120 PRINT PER 130 LET I=I/PER/100 140 LET N=PER*Y 150 LET P=A*I*(1+I)^N/((1+I)^N-1) 160 PRINT "MONTHLY PAYMENT=";INT (100*P+.5)/100 165 LET T= INT (100*P+.5)/100 170 PRINT 175 PRINT "TOTAL COST OF LOAN=";T*Y*PER 180 LET Z=Z+1 195 PRINT 200 PRINT "********************************" 205 IF Z=2 THEN GO TO 230 210 PRINT 220 GO TO 10 230 PRINT AT 20,5;"PRESS "; FLASH 1; "C"; FLASH 0;" TO CONTINUE" 240 IF INKEY$ ="C" OR INKEY$ ="c" THEN GO TO 5 250 GO TO 240. ```