Dear members,
i need a small help in C programming..
I have a file with two columns
column one starts from 0,1,2,3,.......may be up to 1000
column two contains some numbers...may be integer and/or some numbers
but the two columns are +ve...
Now i need to change/multiply column one with a constant number, K, which may be up to 3 decimal places...and then divide by the last number (in this case 1000) from column one.
then the second column need to be divided by a number M, through out...
So i need to write the new values in a new file...
its better for me give input and output file name from command and also the K and M...in this the 1000 shall be selected automatically...
if anyone willing to help me...
advance thanks,
kumar

