Computer Science, asked by juhik82, 5 months ago

Prog. 3
Write a program in Java to calculate and display the side of a cube
taking its volume as an input.
Hint: side of a cube - 3 volume programing

Answers

Answered by durva83
0

Answer:

Write a program in Java to calculate the side of a cube taking its volume as an input

Explanation:

import java. util. Scanner;

class VolumeOfCube1.

{

public static void main(String args[])

{

double side=Double. parseDouble(args[0]);

double volume=side*side*side;

System. out. println("volume of Cube is: " +volume)

Similar questions