SHARE
TWEET

Untitled

a guest Oct 16th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Name:Chris McGlynn
  2. Date: 27/9/19
  3. Program how to convert temperature
  4.  */
  5.  
  6. public class ConvertTemperature {
  7.  
  8.     public static void main (String [] args){
  9.  
  10.         double centigrade=100;
  11.  
  12.         double fahrenheit= 9/5*centigrade+32;
  13.  
  14.         System.out.println ("Fahrenheit is equal to "+fahrenheit+(" degrees Fahrenheit"));
  15.  
  16.  
  17.     }
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top