ex.:
import java.util.*;
import static java.lang.Math.PI;
import java.lang.*;
public class TankerTruck
{
public static int Main()
Type: Posts; User: Mvxexty1001
ex.:
import java.util.*;
import static java.lang.Math.PI;
import java.lang.*;
public class TankerTruck
{
public static int Main()
No because I don't know what I am doing. I write c++ not java.
ex.:
import java.util.*;
import static java.lang.Math.PI;
import java.lang.*;
public class TankerTruck
{
public static int Main()
No "radius" is all wrong.
I am here, where to next?
ex.:
import java.util.*;
public class TankerTruck
{
public static int Main()
Well I have got this far in the translation: but the user inputs are wrong, and I want to break the program up into a class and a tester.
ex.:
public class TankerTruck
{
I am basically converting a c++ file to java: I am new to java. I am just trying to convert it.
C++ Code
Assume the tanker is a cylinder of length 19.35 feet and volume 1320 gallons. What is the
diameter in feet of the tanker truck?
To solve this problem, write a Java program to calculate the...