Thursday, 12 January 2012
Program To Find Armstrong Number 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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment