```
#include<iostream>
using namespace std;
float input()
{
float inches;
float feet;
cin>>inches;
cin>>feet;
};
float calculate(float inches, float feet)
{
float cm;
float meters;
cm=2.54*inches;
meters=feet*.3048;
};
float output(float meters,float cm)
{
cout<<"The feet to meters="<<meters<<endl;
cout<<"The inches to cm="<<cm<<endl;
};
void main()
{
float input();
float calulate();
float output();
};
I need help this wont work
Write a program that will read in a length in feet and inches
and will output the equivalent length in meters and centimeters. Use at least
three functions : one for input, one or more for
calculating and one for output. There are 0.3048 meters in a foot, 100
centimeters in a meter and 12 inches in a foot.
```

orar 0 Newbie Poster

WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague

Bob 15 using namespace Bob Team Colleague

np complete 8 Newbie Poster

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.