Operator Logika dan Operator Perbandingan.Mia Nanda fitriani

Run Settings
LanguageC
Language Version
Run Command
/*file: logika.c*/ /*penulis: Mia Nanda Fitriani*/ /*Deskripsi:*/ /*Contoh perhitungan aljabar boolen,perhatikan cara penulisan AND dan OR serta NOT*/ #include <stdio.h> int main(void) {/*Kamus*/ int TRUE=1; int FALSE=0; /*Algoritma*/ printf("Ini nilai TRUE AND TRUE :%d\n",TRUE && TRUE); printf("Ini nilai TRUE OR FALSE :%d\n", TRUE || FALSE); printf("Ini nilai FALSE AND TRUE :%d\n", FALSE && FALSE); printf("Ini nilai FALSE OR FALSE :%d\n", FALSE || FALSE); printf("Ini nilai NOT TRUE :%d\n",!TRUE); printf("Ini nilai NOT FALSE:%d\n",!FALSE); return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines