Advertisement
veronikaaa86

Celsius To Farenheit C#

Oct 17th, 2017
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.41 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Celsius_to_Farenheit
  7. {
  8.     class Program
  9.     {
  10.         static void Main(string[] args)
  11.         {
  12.             double celsius = double.Parse(Console.ReadLine());
  13.             double fahrenheit = celsius * 9 / 5 + 32;
  14.             Console.WriteLine(fahrenheit);
  15.         }
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement