fortran95 - Formatting a text file into a columns and rows in Fortran 95 -
i having difficulty finding way organize text file columns , rows in fortran. want able read text file , organize data formatted rows , columns.
for example, if read text file:
fruit, vegetables, meat, cereal
apple, broccoli, steak, corn flakes
orange, carrot, sausage, cheerios
and have program output like
fruit | vegetables | meat | cereal apple | broccoli | steak | corn flakes orange| carrot | sausage| cheerios
Comments
Post a Comment