File: test04.ci

package info (click to toggle)
clif 0.92-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 3,580 kB
  • ctags: 2,814
  • sloc: ansic: 31,040; yacc: 4,961; lex: 659; makefile: 390; sh: 60
file content (16 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
int x;
x = 1;
while (x <= 10)
{
  printf ("teraz som vo while\n");
  if (x == 5)
    {
      printf ("teraz som v IF\n");
      printf ("______________________________\n");
      ++x;
      break;
    }
  printf ("%d\n" ,x);
  ++x;
}
exit;