Q:

C++ Program to print convert feet to meter

0

C++ Program to print convert feet to meter

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

#include<iostream>
using namespace std;    

int main() 
{
    float meter,feet;

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

    meter = feet / 3.2808399;
    cout<< meter ;

    return 0;
}

Result:

Enter feet : 50

15.24

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C++ Program to convert celcius to farenheit... >>
<< C++ Program to perform all arithmetic operations...