Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class CelsiustoFahrenheit
- {
- static void Main(string[] args)
- {
- double c = double.Parse(Console.ReadLine());
- double f = (c * 9) / 5 + 32;
- Console.WriteLine("{0:F2}", f);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement