File: test27.ci

package info (click to toggle)
clif 0.93-8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 3,616 kB
  • ctags: 2,881
  • sloc: ansic: 31,464; yacc: 5,067; lex: 819; makefile: 389; sh: 48
file content (11 lines) | stat: -rw-r--r-- 228 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
/* program testujuci nacitanie a vypisy textu */

char a, b, c;
printf ("zadaj hodnotu premennej a\n");
scanf ("%c", a);
printf ("zadaj hodnotu premennej b\n");
scanf ("%c", b);
c = a + b;
printf ("ich sucet je: %c", c);
exit;