Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
currency change
//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 Program { public class Program { public static void Main(string[] args) { int choice; Console.WriteLine("Enter your Choice :\n 1- Dollar to Rupee \n 2- Euro to Rupee \n 3- Malaysian Ringgit to Rupee "); choice = int.Parse(Console.ReadLine()); switch (choice) { case 1: Double dollar, rupee,val; Console.WriteLine("Enter the Dollar Amount :"); dollar = Double.Parse(Console.ReadLine()); Console.WriteLine("Enter the Dollar Value :"); val = double.Parse(Console.ReadLine()); rupee = dollar * val; Console.WriteLine("{0} Dollar Equals {1} Rupees", dollar, rupee); break; case 2: Double Euro, rupe,valu; Console.WriteLine("Enter the Euro Amount :"); Euro = Double.Parse(Console.ReadLine()); Console.WriteLine("Enter the Euro Value :"); valu = double.Parse(Console.ReadLine()); rupe = Euro * valu; Console.WriteLine("{0} Euro Equals {1} Rupees", Euro, rupe); break; case 3: Double ringit, rup,value; Console.WriteLine("Enter the Ringgit Amount :"); ringit = Double.Parse(Console.ReadLine()); Console.WriteLine("Enter the Ringgit Value :"); value = double.Parse(Console.ReadLine()); rup = ringit * value; Console.WriteLine("{0} Malaysian Ringgit Equals {1} Rupees", ringit, rup); break; } Console.ReadLine(); } } }
run
|
edit
|
history
|
help
0
sdrfgthyuytgrfdwcd
Homework4
domain extraction
Convert Excel Range To Absolute Excel Range
Hareket
Sugar
test
ProbableCause
linq sort
C# program to Determine if Two Words Are Anagrams of Each Other