Computer Science, asked by hrusikeshchoudary, 1 month ago

Question -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 Yvolume​

Answers

Answered by Anonymous
4

Explanation:

\underline{\bf{Answer}}

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);

------------------------------------------------------------------

Answered by Anonymous
50

Answer

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);

_______________________________

Mark (@BangtanARMYOT7) as Brainliest!

Similar questions