Computer Science, asked by Adityalatke27, 5 months ago

Write a Java program to calculate and display the volume of a cylinder using the formula V=3.14*r*r*h, when r=25.5 and h=12.

Answers

Answered by tapash7575
2

Answer:

class ex1

{

public static void main ( int r, int h)

{

int v;

v= 3.14*r*r*h ;

}

}

Similar questions