write a program in Java to find the volume of cube using InputStreamReader
Answers
Answered by
3
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
English,
4 months ago
English,
4 months ago
Math,
4 months ago
Math,
10 months ago
Social Sciences,
10 months ago