From: Doni Pracner Date: Tue, 24 Dec 2013 00:03:46 +0000 (+0100) Subject: new sample InOut1.mj - simple read and print X-Git-Tag: v0.1.4~53 X-Git-Url: https://svarog.pmf.uns.ac.rs/gitweb/?a=commitdiff_plain;h=62efabccdddf0ef11aec0bf8e608d97967030d77;p=mjc2wsl.git new sample InOut1.mj - simple read and print --- diff --git a/samples/InOut1.mj b/samples/InOut1.mj new file mode 100644 index 0000000..1b9a499 --- /dev/null +++ b/samples/InOut1.mj @@ -0,0 +1,9 @@ +program InOut1{ + void main() + int i; + { + print('?'); + read(i); + print(i); + } +} \ No newline at end of file