Computer Science, asked by klchowdhary774, 6 months ago

write a program to find volume of cube in java ​

Answers

Answered by ayushbag03
5
  1.    public class cube{
  2.    public static void main(String args[])
  3.    {
  4.    int a=4;
  5.    int volume=a*a*a;
  6.    System.out.println("Volume ot the cube="+volume);
  7.    }
  8.    }
Similar questions