#include<iostream.h>
main()
{
char a[10]="Logika";
char b, c, d;
b='A';
c='N';
d='D';
int j = 1 && 1 ;
int k = 1 && 0 ;
int l = 0 && 0 ;
int m = 0 && 1 ;
cout<<endl<<a;
cout<<b<<c<<d<<endl;
cout<<"1 && 1 = "<<j<<endl;
cout<<"1 && 0 = "<<k<<endl;
cout<<"0 && 0 = "<<l<<endl;
cout<<"0 && 1 = "<<m<<endl;
}
Output :
0 komentar:
Posting Komentar