From d60a700cf600eae64a66a63d7795e90f9428b571 Mon Sep 17 00:00:00 2001 From: Joseph Hale Date: Thu, 9 Oct 2014 10:30:00 -0500 Subject: [PATCH] Preserve PRCNT* Here's what each program does: * **PRCNTDIF** - PeRCeNT DIFference * **PRCNTERR** - PeRCeNT ERRor These two programs were written during my college prep physics class during high school. They are a classic example of using my calculator programming skills to avoid learning the rationale behind an important formula for experiments. I simply didn't want to have to worry about the formula, so I figured it out once and then let my calculator take care of it from thereon and thenceforth. However, though they are only three lines long, they demonstrate one interesting insight into my development as a programmer. These programs appears to be the first time that I did computation in the `Disp`lay step in order to save a line or two of code. It demonstrates that (1) I had started to figure out the expanded set of precedence rules that govern expression evaluation in programming languages and (2) had begun to exploit those rules to make my programs more concise and readable. --- PRGM/PRCNTDIF.8xp | Bin 0 -> 106 bytes PRGM/PRCNTDIF.txt | 3 +++ PRGM/PRCNTERR.8xp | Bin 0 -> 98 bytes PRGM/PRCNTERR.txt | 3 +++ 4 files changed, 6 insertions(+) create mode 100644 PRGM/PRCNTDIF.8xp create mode 100644 PRGM/PRCNTDIF.txt create mode 100644 PRGM/PRCNTERR.8xp create mode 100644 PRGM/PRCNTERR.txt diff --git a/PRGM/PRCNTDIF.8xp b/PRGM/PRCNTDIF.8xp new file mode 100644 index 0000000000000000000000000000000000000000..5476a6d9c412686a9c98fdf7afb2eccf21ad62e0 GIT binary patch literal 106 zcmdPW3h}fscGHsLV(?8ZD#<9$Pb*Of$>oc%&vJlz-= p6d2?f?mB8a*$X%pItexl2sjov2{s!EvN+q{+hk~9;4CP}4FD>oc%&vgMt_s hBpAdP?uKYP+6#mfItn(2usGY_+hk~9;4C