write a program to find volume of cube in java
Answers
Answered by
5
- public class cube{
- public static void main(String args[])
- {
- int a=4;
- int volume=a*a*a;
- System.out.println("Volume ot the cube="+volume);
- }
- }
Similar questions