#include<iostream>
usingnamespace std;
struct dim{float feet,inches;};
struct room_dim{ dim length,width;}; //room dimension
int main()
{
float length,width;
double Area;
char ch;
cout<<"Please entre the room dimension : \n";
cout<<"Please entre the room length (feet,inches) : \n";
cin>>room_dim.length.feet>>ch>>room_dim.length.inches;
cout<<"Please entre rhe room width (feet,inches) :\n";
cin>>room_dim.width.feet>>ch>>room_dim.width.inches;
length= room_dim.length.feet+room_dim.length.inches/12; //make all variable from the same type
width= room_dim.width.feet+room_dim.width.inches/12;
Area=length*width;
cin.get();
cout<<"The room area = "<<Area;
cin.get();
}