SHARE
TWEET

Untitled

a guest Mar 8th, 2017 105 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using static System.Console;
  2. using static System.Math;
  3.  
  4. class CelsiusToFahrenheit
  5. {
  6.     static void Main()
  7.     {
  8.         var tempC = double.Parse(ReadLine());
  9.  
  10.         var tempF = tempC * 9 / 5 + 32;
  11.  
  12.         WriteLine(Round(tempF, 2));
  13.     }
  14. }
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