Answer:
using namespace std;
int main()
{
float x,y;
cout<<"Enter a value of feet: ";
cin>>x;
y=x*0.305;
cout<<x<<" feet is "<<y<<" meters";
return 0;
}
Explanation:
The program is written in C++ language but the problem can be carried out in any language using the premises given here.
You have to declare your variables for feet and meters (x and y in this case). The you prompt the user via the message on screen given by the cout word and the << sign, and the value read via the cin word and the >> sign and stored into x. Then you multiply x by 0.305 and store it in y, and show them on screen via cout. Note that literal words are written between " " and variables are written just like that.