Task 2
Perform Task 1 using pointer structure.
                                     Source Code
#include<iostream>
#include<string>
using namespace std;
struct Employee
{
       int empID, empAge;
       string empName;
       float empSalary;
};
int main()
{
       Employee e1,*eptr;
       eptr = &e1;
       cout << "Enter Employee's name::" << endl;
       /*cin >> e1.empName;*/
       getline(cin, (*eptr).empName);
       cout << "Enter Employee's age::\n";
       cin >> (*eptr).empAge;
       cout << "Enter Empolyee's ID::\n";
       cin >> (*eptr).empID;
       cout << "Enter Empoyee's Salary::\n";
       cin >> (*eptr).empSalary;
       system("cls");
       cout << "Employee ID::" << endl << (*eptr).empID << endl;
       cout << "Employee Name::" << endl << (*eptr).empName << endl;
       cout << "Employee Age::" << endl << (*eptr).empAge << endl;
       cout << "Employee Salary::" << endl << (*eptr).empSalary << endl;
       system("pause");
       return 0;
}