Online Visitor Counter

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

Friday, April 18, 2014

Logical Operators


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int a=2, b=3, c=4;
cout<<(a>b&&a>c)<<endl;
cout<<(a>b||a>c)<<endl;
cout<<(a>b||c>b)<<endl;
cout<<(!(a>b&&!a<c))<<endl;
cout<<”By Muzafar Hussain Sahto”;
getch();
}

No comments:

Post a Comment

 
  • Blogroll

  • Consectetuer

  • Popular

  • Comments