i have written a code to output a valid boolean algebra output
is the following code correct?
if the above code is wrong then what would be the correct code and shoud i use other header files?Code:#include<iostream.h>
#include<conio.h>
main()
{
int a,b,c;
cout<<"Enter ........."<<endl;
cin>>a>>b;
c=a&&b;
cout<<c;
getch();
return 0;