I fixed a few things and now I can print the results, but now the results are wrong. What is wrong?
public class IceCreamCone
{
private double height;
private double radius;
private...
Type: Posts; User: jean28
I fixed a few things and now I can print the results, but now the results are wrong. What is wrong?
public class IceCreamCone
{
private double height;
private double radius;
private...
I am trying to write a code where I state the height and radius and then calculates the surface area and volume of a code.
These are the formulas:
Surface = sqrt(r^2 + s^2)
Surface area = pi...