Online Visitor Counter

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

Friday, April 18, 2014

Check Whether The Number Negative Or Positive

Check Whether The Number Negative Or Positive


#include<constream.h> void main() { int a; clrscr(); cout<<"Enter The Number To Check Whether The Number Negative Or Positive :"; cin>>a; if(a>=0) cout<<"Positive Number"; else cout<<"Negative Number"; getch(); }

No comments:

Post a Comment

 
  • Blogroll

  • Consectetuer

  • Popular

  • Comments