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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!