• + 0 comments
    cat | awk '{
        avg=($4+$2+$3)/3;
      printf $1" : ";result = (avg > 50) ? "Pass\n": "Fail\n"; printf result
      }'