Triangle tools from the text book Programming Processors in Java.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Triangle-Tools/programs/increment.tri

14 lines
208 B

! this won't compile without implementing the bonus material in Practical 3
let
var a: Integer
in
begin
getint(var a);
a++;
putint(a);
puteol();
a++;
putint(a);
puteol();
end