Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace _11_CelsiusToFahrenheit
- {
- class CelsiusToFahrenheit
- {
- static void Main(string[] args)
- {
- double celsius = double.Parse(Console.ReadLine());
- double result = (celsius * 1.8) + 32;
- Console.WriteLine("{0:f2}", result);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment