Create a Employee Management Simple Code in C++ Programming Language with source code
#include<iostream.h>
#include<conio.h>
class emp
{
int e_no[3],i;
char ename[10];
public:
void getdata()
{
for(i=0;i<3;i++)
{
cout<<"\n Enter emp no ";
cin>>e_no[i];
cout<<"\n Enter emp name ";
cin>>ename[i];
}
}
void putdata()
{
for(i=0;i<3;i++)
{
cout<<"\n emp code "<<e_no[i];
cout<<"\n emp name "<<ename[i];
}
}
};
void main()
{
emp e1;
clrscr();
e1.getdata();
e1.putdata();
getch();
}
#include<conio.h>
class emp
{
int e_no[3],i;
char ename[10];
public:
void getdata()
{
for(i=0;i<3;i++)
{
cout<<"\n Enter emp no ";
cin>>e_no[i];
cout<<"\n Enter emp name ";
cin>>ename[i];
}
}
void putdata()
{
for(i=0;i<3;i++)
{
cout<<"\n emp code "<<e_no[i];
cout<<"\n emp name "<<ename[i];
}
}
};
void main()
{
emp e1;
clrscr();
e1.getdata();
e1.putdata();
getch();
}
Create a Employee Management Simple Code in C++ Programming Language with source code
Reviewed by Unknown
on
6:07:00 PM
Rating:
Hi, very nice check out for employee scheduling software is a very effective thing used. It helps performance management and check the daily work and activity. Get in touch with us and grab the tool for your office .visit: http://smartmanager.com.qa/
ReplyDelete