how to calculate dollarto peso code example
Example: how to calculate dollarto peso
using System;
class MainClass {
public static void Main (string[] args) {
double result = total(Convert.ToInt32(Console.ReadLine()));
Console.WriteLine(result);
}
static double Money(double usd)
{
double total = usd / 50.25;
return total;
}
}