convert Feet To Inches - CSharp System

CSharp examples for System:Math Convert

Description

convert Feet To Inches

Demo Code


using System.Threading.Tasks;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using System;/*from w ww  .j  a  v a  2 s .com*/

public class Main{
        //conver feet to inches
        public static void convertFeetToInches(float feet)
        {
            float result = INCH_PER_FOOT * feet;
            Console.WriteLine("There are {1} inches in {0} ft", feet, result);


        }
}

Related Tutorials