English, asked by lotussujith1228, 1 year ago

Write a program in c++ to calculate volume of cylinder and sphere using function overloading and classes

Answers

Answered by idris7
0

For the question mentioned above, the objects whose volume is to be calculated has different number of attributes, overloading can be done based on the number of arguments, as its attributes can be considered as floating type for all.

Similar questions