-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProgram.cs
28 lines (22 loc) · 826 Bytes
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Calculos
{
internal class Program
{
static void Main(string[] args)
{
Console.WriteLine("Aplicação Cálculos");
Console.WriteLine($"4+2={aritmetica.somar(4,2)}");
Console.WriteLine($"4-2={aritmetica.subtrair(4, 2)}");
double t1 =conversoes.ConverterTemperatura(conversoes.ConversaoTemperatura.CelsiusFahrenheit, 36);
double t2 = conversoes.ConverterTemperatura(conversoes.ConversaoTemperatura.FahrenheitCelsius, 100);
Console.WriteLine($"36º Celsius = {t1}º Fahrenheit");
Console.WriteLine($"100º Fahrenheit = {t2}º Celsius");
Console.ReadKey();
}
}
}