Please need help with this program

Merogx

Honorable
Nov 7, 2012
1
0
10,510
0
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 :)
 
Thread starter Similar threads Forum Replies Date
D Apps General Discussion 1
BlueMoon1890 Apps General Discussion 0
Neon The (Anthro) Umbreon Apps General Discussion 1
K Apps General Discussion 2
T Apps General Discussion 10
M Apps General Discussion 2
R Apps General Discussion 3
S Apps General Discussion 2
N Apps General Discussion 1
P Apps General Discussion 4
A Apps General Discussion 8
M Apps General Discussion 6
S Apps General Discussion 1
C Apps General Discussion 5
H Apps General Discussion 3
A Apps General Discussion 1
U Apps General Discussion 1
F Apps General Discussion 3
F Apps General Discussion 7
S Apps General Discussion 4

ASK THE COMMUNITY