Sign in with
Sign up | Sign in
Your question

Please need help with this program

Last response: in Applications
Share
November 7, 2012 10:30:37 AM

hi i need help with this java problem solving , please someone solves it

Write a Java class (program) that reads from the user the radius of a cylinder and its height
as real numbers.

Then calculates and prints the surface area and the volume of the cylinder (both rounded to
2 decimal places). See the given figure.

Hint: Use Math.PI for the value of π.


surface area : A = 2 π r(power2) + 2 π r h

π = the phi (radius i mean )

volume : V = π r(power2) h

Thx :) 

More about : program

a b L Programming
November 7, 2012 10:45:21 AM

Which part specifically you do not understand? Show us the code you've written so far.
m
0
l
November 7, 2012 4:52:23 PM

I'm getting the distinct impression you want us to do your homework.
m
0
l
Related resources
a b L Programming
November 10, 2012 5:33:16 AM

I see no program.
m
0
l
!