percentage by line

hi, I am new to awk.. and getting used to the scripts. I have a small data set 5 coulms.. 16 rows.
1) I am trying to remove the percentages of each line of colum 3..like first line divided the sum of colum 3 divided by 100 and print it out. removing hte percentages of each line
I would really appeciate the help..

2)I was trying to manipulate the $3 by priting lines that have #2 in them.
awk '/2/ {print $3} --- if i want to search next column and print our lines that have #2in them.. wat would i modify..
Thank you very much.

629
587
584
548
550
558
517
522
515
586
601
656
614
679
656
902

awk '$3=int($3)' file

Second question is not clear, try again.

basically in colum 3 I am looking at lines that have number 2 and printing them out. how wud i modify the code to incude $4 as well.. check column 4 for lines with #2 in it.

awk '$4 ~ /2/' file

For your next question please start a new topic or search the forum for similar solutions.