gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
mjc2wsl, typo
[mjc2wsl.git] / samples / InOut3.mj
1 program InOut3{
2 void main()
3 char c;
4 int i;
5 {
6 i = 5;
7 print('c');
8 print('?');
9 read(c);
10 print(c);
11 print(chr(10));
12 if (c=='y') {
13 print('i');
14 read(i);
15 } else {
16 print('c');
17 read(c);
18 }
19 print(chr(10));
20 print(i,5);
21 print(c,5);
22 }
23 }
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner