#include <iostream.h>
#include <conio.h>
void main( )
{
int emp[4][2] ;
int i ;
for ( i = 0; i <=3 ; i++)
{
cout<<"\n Enter Employee No. and Salary : ";
cin>>emp[i][0]>>emp[i][1];
}
cout<<"\n Emplyoee Number \t Salary ";
for ( i = 0; i <=3 ; i++)
cout<<"\n"<<emp[i][0]<<"\t\t"<<emp[i][1];
getch( );
}
0 comments:
Post a Comment