Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using static System.Console;
- using static System.Math;
- class CelsiusToFahrenheit
- {
- static void Main()
- {
- var tempC = double.Parse(ReadLine());
- var tempF = tempC * 9 / 5 + 32;
- WriteLine(Round(tempF, 2));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement