I have table like this:
alphabet binery integer d(in rad sin(integer)*100 e f
a1 1010 10 41 70.6 46.3
a2 0011 3 14 57.06 37
I have created 4 functions that is: void alpha_int(), int binery( int a), float d( int x), float e(float b), float f(float f). My one array is revolving in each function, firstly i am doing index wise for calculation up to function e(), but i am failed how to send complete array to function f() because it is taking avg.
code strtgy:
//----------------
//skipped theportion
//.............
void alpha_int()
{
int [] a = new int [100];
for(int i=1; i<=6;i++){
{
System.out.print("a"+i+" "+binery(arra[i])+" "+array[i]+" "+d(array[i])+" "+e(d(array[i])));
}
f(a(d(array)); // gives error
}
int binery( int a){
// successfully complete
return a;
}
float d( int x){
// did som work
return x;
}
float e(float b){
// operations peformed
return b;
}
float f(float f){ // problem in sending complete array
for( int i=1; i<f.length;i++){
for(int j=1;j<f,length;j++){
f[i]= f[i]+f[j];
}
}
}