Currency converter
Sign in to test your solution.
// Currency converter program
using System;
class Submission
{
// -------------------------
// Subprograms
// -------------------------
static double exchange(double gbp, string currency)
{
}
// -------------------------
// Main program
// -------------------------
public static void Main(string[] args)
{
double money = exchange(gbp, currency);
Console.WriteLine($"{gbp} GBP = {money} {currency}");
}
}
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.