Question: please answer in c++ QUESTION 3 (15 MARKS) Figure 3.1 shows an incomplete C++ program. Refer to the figure and answer question 3(a)-). Write the
please answer in c++
QUESTION 3 (15 MARKS) Figure 3.1 shows an incomplete C++ program. Refer to the figure and answer question 3(a)-). Write the complete program int main() Person p cout > p.ages cout > p.salary) // Function call with structure variable // as an argument displayData (p) return 0; . Figure 3.1 d Write a code sequent to define struct Person (5 marks) b. Write function definition of displayData!) (5 marks) Modify function main () to input 50 data of type Person
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
