using System;
namespace st
{
class InchToCm
{
public static void Main()
{
Console.Write("Enter Inches :");
string input = Console.ReadLine();
int inches = Int32.Parse(input);
Console.WriteLine("There are {0} centimeters for {1} inches",
inches * 2.5, inches);
} // main
} // class
} // namespace
Technorati Tags: C#
Comments
Post a Comment