设有6个职工,每个职工包括职工号和工资。从键盘输入职工的数据,求平均工资,并输出最高工资和对应的职工号
#include<iostream>
using namespace std;
const int size = 6;
struct employee
{
long int id;
double salary;
}; struct employee info[6];
void input(employee* info, int size);
double find_max(employee* info, int size)