Program Logika AND

Posted by Budi Arieyanto | Posted in | Posted on 05.03

#include<iostream.h>
#include<conio.h>

void main()
{
 int F,T;

 clrscr();

 cout<<"   *LOGIKA AND*"<<endl;

 cout<<" \n\n  _____________"<<endl;
 cout<<" | T&T  |   "<<(1&1);cout<<"  |"<<endl;
 cout<<" |______|______|"<<endl;
 cout<<" | T&F  |   "<<(1&0);cout<<"  |"<<endl;
 cout<<" |______|______|"<<endl;
 cout<<" | F&T  |   "<<(0&1);cout<<"  |"<<endl;
 cout<<" |______|______|"<<endl;
 cout<<" | F&F  |   "<<(0&0);cout<<"  |"<<endl;
 cout<<" |______|______|"<<endl;

 getch();
 }

Comments (0)

Posting Komentar