Files
  • main.cs
  • main.exe
main.cs
1
2
3
4
5
6
7
8
9
10
11
using System;

class FootsToMetersConverter {
    public static void Main() {
        Console.Write("Foots = ");
        var foots = double.Parse(Console.ReadLine());
        var meters = foots * 0.3048;
        Console.Write("Meters = ");
        Console.WriteLine(meters);
    }
}