Question: b) Given the following parallel array declaration: int stafid[10]; double income [10]; Write a program segment that can perform the following tasks: i) Read the
![b) Given the following parallel array declaration: int stafid[10]; double income](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f4f436bed21_33466f4f4365f514.jpg)
b) Given the following parallel array declaration: int stafid[10]; double income [10]; Write a program segment that can perform the following tasks: i) Read the data that can store all elements into both arrays. (3 marks) ii) Display the highest income with the respective information about the staff id. (7 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
