Interactive Parabola Grapher
Explore graph ,equation and the locus of a Parabola
Save graphs to your desktop!



A+    A−    B  
Home
Graphing Calc
Algebra
Math Games
  • Decimals in Space
  • Fraction Balls
  • Integers in Space
  • Math Man
  • Number Balls
  • Geometry
    Interactive
    Trigonometry
    Scientific Calc

    Temperature Converter Assignment

    Create a new BlueJ class called TemperatureConverter and paste the code below inside. Compile and run the class to see what it does. Your job is to
    • 1) Make the constructor initialize the instance variable temperature.
    • 2) implement and test the convertToCelsuis() method
    • 3) implement and test the convertToFarenheit() method


    TemperatureConverter class

    
    
    public class TemperatureConverter{
    int base = 32;
    final double conversionFactor= 9.0/5.0;
    
    double temperature;
    
    //empty constructor
      public TemperatureConverter()
      { 
    	  System.out.println("Make the constructor initalize temperature");
    	  ; 
      }
    
      
      //@ returns celsuis conversion 
      public double convertToFarenheit(int tempToConvert){ 
    	  System.out.println("Change this method to return the degrees in celsuis");
    return 1;
    
      }  
      
       //@ returns celsuis conversion 
      public double convertToCelsuis(int tempToConvert){
    
      System.out.println("Change this method to return the degrees in celsuis");
    
      return 1;
      }
      
      
    }