Home > Back-end >  O bosses give directions
O bosses give directions

Time:11-02

Define a floating-point array length is 3, input three floating point Numbers and assigned to the array, calculating the average of the array (keep 2 decimal places) and the output, (I do it always is wrong)

CodePudding user response:

You say to is wrong, post code, otherwise, how to guide?
Serious doubt you won't have to do, only needs to help you finish,

CodePudding user response:

Float fData [3].
(fData fData [0] + [1] + fData [2])/3

CodePudding user response:

/3.0;
  • Related