#include<stdio.h>
#include<stdbool.h>
int main()
{
bool x;
int n = 10;
int m = 8;
x=(m>0) && (n<0);
printf("Nilai x=%d\n", x );
x=(m>3) && (n<8);
printf("Nilai x=%d\n", x );
x=(m>0) || (n<0);
printf("Nilai x=%d\n", x );
x=(m>3) || (n<8);
printf("Nilai x=%d\n", x );
getch();
return 0;
}
Posting Komentar