write a program in java to accept height and radius of a cylinder and print it's volume
Answers
Answered by
2
Answer:
Java Program
public class cylinder{
public static void main(String args[])
{
int height=38;
int radius=35;
double pie=3.14285714286;
double volume=pie*(radius*radius)*height;
System.out.println("Volume of the cylinder="+volume);
Answered by
1
Explanation:
plz mere 10 answer Ko like kar do plz plz plz
plz follow me and mark me as branlist
thankyou
Similar questions