#include <iostream> using namespace std; struct Distance { int feet; float inches; }; int main() { Distance d1; cout << " Enter feet ::: "; cin >> d1.feet; cout << " Enter inches ::: "; cin >> d1.inches; cout << " Feet : " << d1.feet; cout << " Inches : " << d1.inches; return 0; }