InchesToFeet - using System class InchesToFeet cfw static...

This preview shows page 1 out of 1 page.

using System; class InchesToFeet { static void Main() { Console.Write("Enter the no. to Convent Into Feet: "); int c ; c=Convert.ToInt32(Console.ReadLine()); Console.WriteLine(c.ToString() + " inches is "); a(c); b(c); Console.ReadLine(); } public static void a(int c) { int feet; int tInches; feet = c / 12;

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture