/* - two arrays contain the ages and the corresponding salaries - a solution based on another task!!! a.) who is the oldest, and how old is he/she? b.) who is older then 40 and earns less then 2000 EUR? c.) younger then 30 - give the indeces */ #include using namespace std; int main() { const int maxm=100; int age[maxm]; int sal[maxm]; int db; cout<<" nr. of data: "<>db; cout<<" give the ages and salaries: "<>age[i]>>sal[i]; } //a.- the oldest is: int maxind=0; int max_age=age[0]; for (int i=1;i40 && sal[i]<200000) { bdb=bdb+1; } } cout<<" those who are older then 40 and earn less then 200 eFt. "<