SHARE
TWEET

Untitled




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- /* Name:Chris McGlynn
- Date: 27/9/19
- Program how to convert temperature
- */
- public class ConvertTemperature {
- public static void main (String [] args){
- double centigrade=100;
- double fahrenheit= 9/5*centigrade+32;
- System.out.println ("Fahrenheit is equal to "+fahrenheit+(" degrees Fahrenheit"));
- }
- }
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.