#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int number1,number2,temp;
cout<<"Enter Number 1 = ";
cin>>number1;
if(number1<0)
{
cout<<"\nNumber is negtive ";
}
else
cout<<"\nNumber is positive ";
getch();
}
#include<conio.h>
using namespace std;
int main()
{
int number1,number2,temp;
cout<<"Enter Number 1 = ";
cin>>number1;
if(number1<0)
{
cout<<"\nNumber is negtive ";
}
else
cout<<"\nNumber is positive ";
getch();
}
0 Questions:
Post a Comment