Search:

Type: Posts; User: jean28

Search: Search took 0.15 seconds.

  1. Re: Why can't I state the values of the constructor??

    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...
  2. Why can't I state the values of the constructor??

    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...
Results 1 to 2 of 2