Dsal 011
Dsal 011
TITLE:-
CODE:
#include <bits/stdc++.h>
#define max 20
using namespace std;
// Structure of Employee
struct employee {
string name;
long int code;
string designation;
int exp;
int age;
};
int num;
void showMenu();
// Array of Employees to store the
// data in the form of the Structure
// of the Array
employee emp[max], tempemp[max],
sortemp[max], sortemp1[max];
showMenu();
}
showMenu();
}
void searchRecord()
{
cout << "Enter the Employee"
<< " ID to Search Record";
int code;
cin >> code;
showMenu();
}
int option;
// Input Options
cin >> option;
// Driver Code
int main()
{
showMenu();
return 0;
}
OUTPUT:
pl@pl-Vostro-3268:~$ g++ -o test dsl11.cpp
pl@pl-Vostro-3268:~$ ./test
Available Options:
Available Options:
Available Options:
Available Options: