C++ Program to print convert feet to meter

C++ Program to print convert feet to meter

#include<iostream>
using namespace std;	

int main() 
{
    float meter,feet;

    cout<< "Enter feet : ";
    cin >> feet ;    

    meter = feet / 3.2808399;
    cout<< meter ;

    return 0;
}

Result

C++ Program to print convert feet to meter
C++ Program to print convert feet to meter

Leave a Comment