Sort by

recency

|

81 Discussions

|

  • + 0 comments

    Here is Awk - 2 solution - https://programmingoneonone.com/hackerrank-awk-2-problem-solution.html

  • + 0 comments

    awk '{ if (3 < 50 || 1 " : Fail"; else print $1 " : Pass"; }'

  • + 0 comments
    awk '{
        if (($2+$3+$4)/3 >= 50)
            print $1,":","Pass"
        else
            print $1,":","Fail"
    }'
    
  • + 0 comments

    awk '{ if (3 < 50 || 1 " : Fail"; else print $1 " : Pass"; }'

  • + 0 comments

    awk '{ if (3 < 50 || 1 " : Fail" else print $1 " : Pass" }'