kolibrios-fun/programs/develop/ktcc/trunk/source/tests/tests2/14_if.c

22 lines
280 B
C
Raw Normal View History

#include <stdio.h>
int main()
{
int a = 1;
if (a)
printf("a is true\n");
else
printf("a is false\n");
int b = 0;
if (b)
printf("b is true\n");
else
printf("b is false\n");
return 0;
}
// vim: set expandtab ts=4 sw=3 sts=3 tw=80 :