Pretty sure that I'm missing something fairly obvious here, but I've only been at it a few days. Any help would be much appreciated. I managed to get my class with methods I would like to use to compile, by my main method I was planning link all my results to is getting an error. It says my actual arguments and formal are different. I assume I didn't connect them to the other class or something, but I'm kind of lost. Thanks again!
public class SphereAndCone {
public static void main(String[] args) {
Calc calc1 = new Calc();
Scanner input = new Scanner(System.in);
System.out.print("What is the radius?");
// set sphere/cone radius
double r = input.nextDouble();
System.out.print("What is the height?");
// set sphere/cone height
double h = input.nextDouble();
// print results while calling on methods
System.out.printf("Sphere Volume: %3f16" + calc1.sphereVolume());
System.out.println();
System.out.printf("Sphere Surface: %3f16" + calc1.sphereSurface());
System.out.println();
System.out.printf("Cone Volume: %3f16" + calc1.coneVolume());
System.out.println();
System.out.printf("Cone Surface: %3f16" + calc1.coneSurface());
System.out.println();
}
}