Helps people in converting Indian Rupees into American Dollars so that they can understand the price easily.
Many people are suffering in converting rupees to Dollars. This code helps in converting Indian Rupees to Dollars.
This is coded using C# in a simple and easy manner. So, that everyone can understand the code easily and can use it easily. When a person travels abroad they need to use the currency according to that place and the value of the currency also depends on that country.
This converter helps the user in converting one amount to another amount. Which makes their travel easy.
using System; class Program { static void Main() { Console.WriteLine("Converting Rupees to Dollars"); Console.WriteLine("**************************"); Console.WriteLine("Enter the amount in Rupees:"); double rupees = Convert.ToDouble(Console.ReadLine()); // Conversion rate from Rupees to Dollars double conversionRate = 0.014; double dollars = rupees * conversionRate; Console.WriteLine("{0} Rupees is equal to {1} Dollars.", rupees, dollars); } }
OUTPUT:
Converting Rupees to Dollars
**************************
Enter the amount in Rupees:
78956.24
78956.24 Rupees is equal to 1105.3873600000002 Dollars.
Output
Submitted by ITIKELA CHIRANMAI (Chiranmai)
Download packets of source code on Coders Packet
Comments