double sterling;
double dollars;
double rate;
double low;
double note;
//Input
Console.WriteLine("Currency Conversion");
Console.WriteLine("");
Console.WriteLine("In Sterling, what is the amount you want to convert?
");
sterling = double.Parse(Console.ReadLine());
Console.WriteLine("What currency would you like to convert it into? ");
string currency = Console.ReadLine();
if (currency == "dollars")
{
Console.WriteLine("What is the lowest note available?");
low = double.Parse(Console.ReadLine());
Console.WriteLine("What is the exchange rate from Sterling into
Dollars?");
rate = double.Parse(Console.ReadLine());
//Proccess
dollars = sterling / rate;
double dollarsround = Math.Round(dollars, 0);
note = dollarsround / low;
double noteround = Math.Round(note, 0);
//Output
Console.WriteLine("{0} Sterling is {1} Dollars and you can purchase
{2} {3} Dollar notes", sterling, dollarsround, noteround, low);
Console.ReadLine();