Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

average

Status
Not open for further replies.

acharls

Technical User
Joined
May 20, 2013
Messages
9
Location
IN
hi,

I have a data

a 10
b 11
c 19
b 12
e 44
c 76
g 23
a 88
g 12
p 34
p 34
.. ..
.. ..

I need to find average of all a,b,c,....etc.
thanks in advance
 
What have you done so far? What are you stuck on?
 
hi xwb,

I did the averaging using if condition(Fortran)but this requires may if conditions(for each a,b,c,...). I am looking for some simple technique so that I can use it for n no. of variables.

regards

acharls
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top