1. Member
Join Date
Nov 2012
Posts
2
Rep Power
0

## Please need help with this program :)

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

Thanks :)

3. Member
Join Date
Nov 2012
Posts
2
Rep Power
0

## Re: Please need help with this program :)

it is not a homework it's just question stands as a rock in front of me and i didn't expect that the forum discuses the problems and the chit chat for credit ???!

so please SurfMan if u can help just say it , u don't fine :D but don't be smart to write this silly comments to me ;)

4. ## Re: Please need help with this program :)

Let me break this down for you:
"please someone solves it" - This means, please do this work for me.
"Write a Java class (program) that..." - Typical start of homework assignment
"Hint: Use Math.PI for the value of π." - Typical proof of homework assignment

If you show me what you have done so far and what the problem is, or which part you don't understand, I will help. Even if it's non-compilable code with errors.

5. ## Re: Please need help with this program :)

No, surf is totally on target, this is a classic homework dump. Even if it isn't, you're asking us to think for you. What have you done so far and where are you stuck?

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•