Monday, 16 January 2012

Program Of IF ELSE Condition In C++


      #include<iostream.h>
#include<conio.h>
main()
{
clrscr();
int salary;
cout<<" enter salary=";
cin>>salary;
if(salary>=20000)
{
cout<<"\n manager";
}
else
{
cout<<"\n employee";
}
getch();
}

No comments:

Post a Comment