Cin inside a function inside a process looping

Hi, I'n trying to do a simulation, I need to enter (cin ) floats like a,b,c,d,e,f,g. and use them in a function V which provides like 10.000 data. so know the program is looping... I think its going to ask me 10.000 time to cin the floats. but they are all the same for all those numbers. How do I make those floats a constant??
this is the code:

float data()
float a,b,c,d,e,f,g;
cout<<"ingrese a: "<<endl;
cin >> a;
cout<<"ingrese b: "<<endl;
cin >> b;
cout<<"ingrese c: "<<endl;
cin >> c;
cout<<"ingrese d: "<<endl;
cin >> d;
cout<<"ingrese e: "<<endl;
cin >> e;
cout<<"ingrese f: "<<endl;
cin >> f;
cout<<"ingrese g: "<<endl;
cin >> g;
return a,b,c,d,e,f,g;

float FuncionV(int B1, int B2, int B3)
// local variable declaration
//float a=1.3, b=-0.01, c=0.08, d=-0.000003, e=0.000007, f=0.000005, g=0.2, result;

const float a,b,c,d,e,f,g;
float result;

return (result);

void Concentracion( int A1, int A2, int A3)
if ((count%n1)==0) {//abre if deltas
V=FuncionV(B1, B2, B3);//Uso de la FuncionV


}//cierre ifs deltas
}// while


}//cierre del void

int main()

Concentracion(9000, 5000, 8000);

return 0;

please help... thanks
Registered users can post here. Sign in or register to post.