projects
/
pdp8.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A large commit.
[pdp8.git]
/
sw
/
src
/
pascal
/
GLERR.PS
diff --git a/sw/src/pascal/GLERR.PS
b/sw/src/pascal/GLERR.PS
new file mode 100644
(file)
index 0000000..
5e72309
--- /dev/null
+++ b/
sw/src/pascal/GLERR.PS
@@ -0,0
+1,14
@@
+PROGRAM GAUSS (INPUT, OUTPUT);
+
+VAR I, J, K, L, M, N: INTEGER;
+ Q: REAL;
+ A: ARRAY[1..9, 1..10] OF REAL;
+
+BEGIN
+ READ(N); WRITELN(N);
+ FOR I := 1 TO N DO
+ BEGIN
+ FOR J := 1 TO N+1 DO BEGIN READ(Q); WRITE(Q:6:2) END;
+ WRITELN
+ END
+END.