Say I have 12 number 2,2,2,2,3,4,5,6,7,0,0,0.i want to count the number of 2 from the first end and 0 from the last end ….how can I do it in fortran? say I have 5 lines…and I will have to count the number from each line…as an example I am giving a set of numbers..
2,2,2,2,3,4,5,6,7,0,0,0...
Is it possible to read a particular column in a file by using fortran? Say i want to read the 5th column of a file. Is it possible to do so?As an example?
This is a data from a file.
asd1 rty2 iii1
uhy2 koi3 kjh4
kjh3 jhg3 kjh5
I want to make three file from these data considering there fourth...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.