write a java program to find volume of cone where r = 14.7 h=7.35
V =1/3 :/pir2h
Answers
Answered by
2
Answer:
public class Volume {
public static void main(String args[]) {
double r = 14.7, h = 7.35, volume = 1 / 3 * 22 / 7 * Math.pow(r, 2) * h;
System.out.println("Volume of the cone is " + volume);
}
}
Similar questions