using System;
using System.Collections.Generic;using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Currency_Convt
{
Class Program
{
static void main(string[] args)
{ double NRS, D;
Console.WriteLine("Input currency in NRS.");
NRS = Convert.ToDouble(Console.ReadLine());
D= NRS/116;
Console.WriteLine("The converted currency is {0}", D);
Console.ReadLine();
}
}
}
Output:
Input currency in NRS.
5000
The converted currency is: 43.1034
Comments
Post a Comment