c# program for convert kg to pound code example
Example: c# program for convert kg to pound
class Program
{
static void Main(string[] args)
{
Console.WriteLine("C# KG to LB program\n");
Console.Write("Enter a number in KG: ");
double kilograms = Convert.ToDouble(Console.ReadLine());
double pounds = kilograms * 2.20462262185;
Console.WriteLine(kilograms + " kilograms is " + pounds + " pounds");
Console.ReadLine();
}
}