“Seek knowledge from the cradle to the grave”
#include<iostream.h> #include<stdio.h> #include<conio.h> int main()
{ int a; cout<<"Enter a Number : "; cin>>a; (a>0)?cout<<"Number is positive":cout<<"Number is negative"; return 0; }
No comments:
Post a Comment