ftin f = m; cout<<"\nDistance in feet inches is:"<<endl; f.display();
cout<<"\n";
} return 0;
}
Result: -
[fedora@nirmal-linux C++Assignments]$ g++ disfeetmeterfuncoverld.cpp [fedora@nirmal-linux C++Assignments]$ ./a.out Enter distance in meter: 1 Enter distance in cm(0 to 100): 100