Slip 11 - F) Write C# program to make a class named Fruit with a data member to calculate the number of fruits in a basket. Create two other class named Apples and Mangoes to calculate the number of apples and mangoes in the basket. Display total number of fruits in the basket.

Solution:

Post a Comment

0 Comments