compiler is showing this error but I don't know where I went wrong with my simple structure program.
#include <iostream>
#include <conio.h>
using namespace std;
#include<iostream>
#include<conio.h>
using namespace std;
struct distance //structure
{
int foot;
float inches;
};
int main()
{
distance a,b;
distance c={3,6.34};
cout<<"Enter feet and inches of distance a"<<endl;
cin>>a.foot<<a.inches<<endl;
b.inches=c.inches+a.inches;
b.foot=c.foot+a.foott;
cout<<"distance a: "<<a.foott<<a.inches<<endl;
cout<<"distance b: "<<b.foott<<b.inches<<endl;
cout<<"distance c: "<<c.foott<<c.inches<<endl;
getche();
return 0;
}