Explore BrainMass

Programming Problem (Types)

Programming Problem (Types)
Write a program to convert a measurement given in feet to the equivalent number of (a) yards, (b) inches, (c) centimeters, (d) meters (1 ft = 12in. 1 yd = 3 ft,
1 in. = 2.54 cm, 1 m = 100 cm).

I need this solution in C++ Code.

Solution Preview

Please try the following program


void main()
double feet;

double yard, inch, centimeter, ...

Solution Summary

Programming Problem (Types) are discussed.