vendredi 2 juillet 2021

R basics conditional operations if/else

1.check each value of the Vector V passed as argument. If the marks are greater than or equal to 80, print Above_Average. If the marks are less than 80, print Average (in single line).

SAMPLE Above_Average Average Average

My outpur

Stdout [1] "Average" "Above_Average" "Above_Average"

hacker rank test case not passing Looking for help to identify what I am doing wrong

Aucun commentaire:

Enregistrer un commentaire