You are viewing a single comment's thread. Return to all comments →
awk ' { avg=(3+$4)/3
if (avg>=80) {print $0, ": A"} else if (avg>=60) {print $0, ": B"} else if (avg>=50) {print $0, ": C"} else {print $0, ": FAIL"}
}'
Seems like cookies are disabled on this browser, please enable them to open this website
'Awk' - 3
You are viewing a single comment's thread. Return to all comments →
awk ' { avg=(3+$4)/3
}'