ANSWER:-
#include <iostream>
using namespace std;
int main() {
float length,width;
cout<<"Enter the length and width in feet :
";
cin>>length>>width;
float total=length+width;
total=2*total*0.3048;
float cost=total*30;
cout<<"The cost of "<<total<<"
meters of fence is "<<cost<<" dirham";
return 0;
}
// OUTPUT
// If any doubt please comment
Part l: Assignment and Variables Answer only one question from t this part (1 or 2)...