Challenge overview
Hello and welcome to the challenge!
Write a code which counts points that our basketball team earned in the series of matches. Match results are given in x:y format, where x means our score in a match. Rules of points counting:
- if
x>ywe earn 3 points - if
x=ywe earn 1 point - if
x<ywe earn 0 points
Have fun and good luck! :)