File Processing - Sequential and Direct Access/lab7a.c
void inputEmpRecord(Employee *EmpList){
    for(size_t i = 0; i < EMP_ARR_SIZE; i++){
        Employee emp = {0};
        printf("%s", "Please enter an employee record (ID FirstName LastName GPA):\n? ");
        scanf("%d %s %s %f", &(emp.id), emp.firstname, emp.lastname, &(emp.GPA));
        EmpList[i] = emp;
    }
}
/*  
    inputEmpRecord: Input the employee data interactively from the keyboard 
    input: the array for the data to be saved in
*/
Input the employee data interactively from the keyboard
input: the array for the data to be saved in
Input the employee data interactively from the keyboard input : the array for the data to be saved in
void inputEmpRecord(Employee *EmpList){
    for(size_t i = 0; i < EMP_ARR_SIZE; i++){
        Employee emp = {0};
        printf("%s", "Please enter an employee record (ID FirstName LastName GPA):\n? ");
        scanf("%d %s %s %f", &(emp.id), emp.firstname, emp.lastname, &(emp.GPA));
        EmpList[i] = emp;
    }
}
void inputEmpRecord ( Employee * EmpList ) { for ( size_t i = 0 ; i < EMP_ARR_SIZE ; i ++ ) { Employee emp = { 0 } ; printf ( " " , " \n " ) ; scanf ( " " , & ( emp . id ) , emp . firstname , emp . lastname , & ( emp . GPA ) ) ; EmpList [ i ] = emp ; } }
inputEmpRecord: Input the employee data interactively from the keyboard
input: the array for the data to be saved in
inputEmpRecord : Input the employee data interactively from the keyboard input : the array for the data to be saved in