ReachCP317 / Reach

Reach for CP 317 - F18
https://reachcp317.github.io/Reach/
MIT License
13 stars 4 forks source link

Update User.java #43

Closed JuliusFan closed 5 years ago

JuliusFan commented 5 years ago

12/08/18 User update

Added

line that increments number_ratings in the setRating() method

Changed

rating = this.rating / this.number_ratings+1; to rating = this.rating / (this.number_ratings+1);