You are using a version without Ads of this website. Please, consider donating:

### helppppppppp!!!

please guys need help in c++ , http://www.flickr.com/photos/94530840@N06/8603339886/in/photostream
this is the pic about the question can help me please and thanks a lot . i solve it but not sure

#include <iostream>
using namespace std;
int main()
{
float x=1,f1,f2,f3,f4,d1,d2,d3,d4,m;

for(x;x;)
{
cout<<"please enter the frequency and the diameter : "<<endl;
cin>>d1>>f1;
cout<<"please enter the frequency and the diameter : "<<endl;
cin>>d2>>f2;
cout<<"please enter the frequency and the diameter : "<<endl;
cin>>d3>>f3;
cout<<"please enter the frequency and the diameter : "<<endl;
cin>>d4>>f4;

cout<<"Row 1: "<<d1<<"\t"<<f1<<endl;
cout<<"Row 2: "<<d2<<"\t"<<f2<<endl;
cout<<"Row 3: "<<d3<<"\t"<<f3<<endl;
cout<<"Row 4: "<<d4<<"\t"<<f4<<endl;
cout<<"------------------------------…
m=((d1*f1)+(d2*f2)+(d3*f3)+(d4*f4))/(…
cout<<"mean ="<<m<<endl;
break;
}
hope u can solve it as soon as possible.
Topic archived. No new replies allowed.