fn who_is_elder (emp1:Employee,emp2:Employee)->Employee {
   if emp1.age>emp2.age {
      return emp1;
   } else {
      return emp2;
   }
}
//accepts instances of employee structure and compares their age
accepts instances of employee structure and compares their age
accepts instances of employee structure and compares their age
fn who_is_elder (emp1:Employee,emp2:Employee)->Employee {
   if emp1.age>emp2.age {
      return emp1;
   } else {
      return emp2;
   }
}
fn who_is_elder ( emp1 : Employee , emp2 : Employee ) -> Employee { if emp1 . age > emp2 . age { return emp1 ; } else { return emp2 ; } }
accepts instances of employee structure and compares their age
accepts instances of employee structure and compares their age
emp1
Employee
emp2
Employee
emp1
Employee
emp2
Employee