//********************************************************************
//  A modification of the TempConverter.java program on page 70      
//  of your text
//********************************************************************

import cs1.Keyboard;

public class TempConverter
{

   public static void main (String[] args)
   {
   	
      // declare variables used to hold the data
      final int BASE = 32;
      int celsiusTemp;
      double fahrenheitTemp;
      
      // get celsius temp from user 
      System.out.println("enter the celsius temperature as a whole number");
      celsiusTemp = Keyboard.readInt();

      // calculate conversion to fahrenheit  
      fahrenheitTemp = celsiusTemp * 9/5 + BASE;

      // output conversion results
      System.out.println ("Celsius Temperature: " + celsiusTemp);
      System.out.println ("Fahrenheit Equivalent: " + fahrenheitTemp);
   }
}
