Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("Podaj temperature w celcjuszach: ");
- double c = double.Parse(Console.ReadLine());
- double f = Math.Round((9f / 5f) * c + 32, 2);
- Console.Write("{0}C = {1}F", c, f);
- Console.ReadKey(true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement