Advertisement
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 homework_3
- {
- class Program
- {
- static void Main(string[] args)
- {
- double fahrenheit;
- Console.WriteLine("Enter The Degrees in Farenheit");
- fahrenheit = double.Parse(Console.ReadLine());
- Console.WriteLine("fahrenheit: " + fahrenheit);
- Console.ReadLine();
- double celsius;
- celsius = (fahrenheit - 32) * 5 / 9;
- Console.WriteLine("Celsius: " + celsius);
- Console.ReadLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement