Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Ki
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { float opcao; int cels; int fah; int celsp; int fahp; Console.WriteLine("Selecione as opções de conversão entre 1 ou 2: "); opcao = Console.ReadLine(); if(opcao == 1) { Console.WriteLine("Digite os graus celsius para converter em fahnreint:"); cels = Console.ReadLine(Convert.ToInt32(cels)); Console.WriteLine("Os graus em fahnreit são: {0}", (cels*(9/5)+32)); } else if(opcao == 2) { Console.WriteLine("Digite os graus fahnreint para converter em celsius:"); fah = Console.ReadLine(Convert.ToInt32(cels)); Console.WriteLine("Os graus em celsius são: {0}", (fah-32)*(5/9)); } Console.ReadKey(); } } }
run
|
edit
|
history
|
help
0
sdfgrthyjuytgr
Merge two array
RRR
a5
Min max elements swap of the array
Prsonal informashin
test
Huy kaka
Project Euler Problem 10
NumsToVars