You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Challenge Golf Code has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
functiongolfScore(par,strokes){// Only change code below this lineif(strokes==1){return"Hole-in-one";}elseif(strokes<=par-2){return"Eagle";}elseif(strokes===par-1){return"Birdie";}elseif(strokes===par){return"Par";}elseif(strokes===par+1){return"Bogey";}elseif(strokes===par+2){return"Double Bogey";}elseif(strokes>=par+3){return"Go Home!";}// Only change code above this line}// Change these values to testgolfScore(1,1);
The text was updated successfully, but these errors were encountered:
Challenge Golf Code has an issue.
User Agent is:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36
.Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
The text was updated successfully, but these errors were encountered: