File: test04.ci

package info (click to toggle)
clif 0.93-9.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 4,228 kB
  • sloc: ansic: 31,464; yacc: 5,067; lex: 819; makefile: 383; sh: 48
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;