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)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now