Dear members,
i am new to this forum...in fact i am not professionally a C-Programmer..I need a little help in writing a C-Program...
I have a file (like notepad or wordpad) which contains 3 columns...each column separated by 'tab'...
All 3 columns contains: may be positive or negative number (for e.g., 0.3345, -0.3119, 1.6654, sometimes up to 7 decimal points, etc) - (say 60 numbers each columns)...

Now i want to create another file using C as follows:
column 1: (each number in column 1 in my input file multiplied by 'a')
+(each number in column 2 in my input file multiplied by 'm')
+(each number in column 3 in my input file multiplied by 'n')

column 2: (each number of column 2 in my input file multiplied by 'g'
+(each number of column 3 in my input file multiplied by 'h'

column 3: (each number of column 3 in my input file multiplied by 't')

'a'= A positive number up to 7 decimal points
'm'= b*cosine(gamma)
'n'=c*cosine(beta)
'g'=b*sine(gamma)

'h'=(c/sine(gamma))*(cos(alfa)-((cos(beta)*cos(gamma))

't'=square root of [(c^2)-(n^2)-(h^2)]

b and c = positive number up to 7 decimal points
alfa, beta and gamma are angles in degrees up to 6 decimal points...

can any kind person help me to make such a huge C-program!!!!Actually i did it with Excel...but...really a horrible job for me to do it for many files...C-program should be better and easy....
i know this should be a big work.......
please help me....I know only very little C-program....but i can edit your program for my future changes.....if you want to know some more info..pls. ask me

Advance thanks,
Kumar.