I figured it out! :) Thank you for your help!!!
public double convertKilogramsToPounds(double weightInKilograms){
return (weightInKilograms*2.20462262);
}
Type: Posts; User: mickey2012
I figured it out! :) Thank you for your help!!!
public double convertKilogramsToPounds(double weightInKilograms){
return (weightInKilograms*2.20462262);
}
That gives me an error in public class Lab2. convertKilogramsToPounds() in PlanetWeights cannot be applied to (double)
I cannot change the code in Lab2. This is my updated code for PlanetWeights.
...
I'm having trouble with a homework assignment. This is what I need to do.
You are to create 2 classes and use the helper class I have provided to complete this lab.
The first class you are to...