Question: 1. Define a structure which holds name and age with CPP programming language. Write a function that can take an array of structure type as

 1. Define a structure which holds name and age with CPP

1. Define a structure which holds name and age with CPP programming language. Write a function that can take an array of structure type as a parameter and returns the element with the oldest one. (test this function with an array at least 5 elements) 2. Write two independent classes about Country and Population with Python language. Each of these class should have two private properties, a constructor and one method to return class properties as string. After that define a class about your country, for example about Turkey, this class should extend both of County and Population at the same time. This new class also have two private members, one constructor and a method to return class object as string. Then create 3 objects from the child class and print their properties

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!