Computer Science, asked by gayatrikumari66329, 5 months ago

Method overloading/ function overloading
using constructor to initialize
(1) Define a dass Store, described as below:
Data Members:
Income (double), expenditure (double), net (double)
Member Methods :
Store
constructor to initialize member data to null.
(0) Input
to input values for member data income and expenditure
Procedure
to calculate value of net using the following formula net =
income - expenditure.
(w) Display
to display all the member data
Write a main() method to create an object of the member data from the user​

Answers

Answered by surya5299
1

Answer:

Find:

Ratio of curved surface area of Cylinder and Surface Area of Sphere

Solution:

we, know that

\boxed{\sf Curved \: surface \: area \: of \: cylinder = 2 \pi rh}

Curvedsurfaceareaofcylinder=2πrh

And,

\boxed{\sf surface \: area \: of \: sphere = 4 \pi {r}^{2} }

surfaceareaofsphere=4πr

2

So,

\begin{gathered}\heartsuit \sf Ratio = \dfrac{curved \: surface \: area \: of \: cylinder}{surface \: area \: of \: sphere} \\ \\ \\ \dashrightarrow \sf Ratio = \dfrac{2 \pi rh}{4 \pi {r}^{2} } \\ \\ \\ \dashrightarrow \sf Ratio = \dfrac{rh}{2{r}^{2} }\\ \\ \\ \dashrightarrow \sf Ratio = \dfrac{rh}{2{r}^{2} }\\ \\ \\ \dashrightarrow \sf Ratio = \dfrac{rh}{2r \times r}\\ \\ \\ \dashrightarrow \sf Ratio = \dfrac{h}{2r}\end{gathered}

♡Ratio=

surfaceareaofsphere

curvedsurfaceareaofcylinder

⇢Ratio=

4πr

2

2πrh

⇢Ratio=

2r

2

rh

⇢Ratio=

2r

2

rh

⇢Ratio=

2r×r

rh

⇢Ratio=

2r

h

Hence, Ratio of Curved surface area of Cylinder and Surface Area of Sphere = h : 2r

Answered by vineysheemar712
0

Answer:

u are great

Explanation:

Similar questions