Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sing System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApp3
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("Degrees in celsius = ");
- var celsius = double.Parse(Console.ReadLine());
- var fahrenheit = (celsius *9/5 +32);
- fahrenheit = Math.Round(fahrenheit, 2);
- Console.WriteLine("Degrees in Fahrenheit = " + fahrenheit);
- }
- }
- }
- -------------------------------------------------------------------------------------
- 10-ΡΠ°
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApp3
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("radians = ");
- var radians = double.Parse(Console.ReadLine());
- var degrees = (radians * 180/Math.PI);
- degrees = Math.Round(degrees, 0);
- Console.WriteLine("Degrees = " + degrees);
- }
- }
- }
- -----------------------------------------------------------------
- 11ΡΠ°
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApp3
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("USD = ");
- var dollars = double.Parse(Console.ReadLine());
- var lev = (dollars * 1.79549);
- lev = Math.Round(lev, 2);
- Console.WriteLine("BGN = " + lev);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement