Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grading Students HackerRank #2099

Closed
1 of 4 tasks
gunjan-g opened this issue Jul 18, 2021 · 1 comment · Fixed by #2100
Closed
1 of 4 tasks

Grading Students HackerRank #2099

gunjan-g opened this issue Jul 18, 2021 · 1 comment · Fixed by #2100
Assignees
Labels
🟩 Level1 This issue will be considered as level 1 issue for LGM-SOC 21.Points will be 5 LGMSOC21 This issue will be considered for LGM-SOC 21

Comments

@gunjan-g
Copy link
Contributor

gunjan-g commented Jul 18, 2021

Aim:
HackerLand University has the following grading policy:

Every student receives a grade in the inclusive range from 0 to 100.
Any grade less than 40 is a failing grade.

Sam is a professor at the university and likes to round each student's grade according to these rules:
If the difference between the grade and the next multiple of 5 is less than 3, round grade up to the next multiple of 5.
If the value of grade is less than 38, no rounding occurs as the result will still be a failing grade.

Details:
image

Programming Language:

  • C++
  • C
  • Java
  • Python
@gunjan-g
Copy link
Contributor Author

@ravikr126 please assign me this issue under the label LGM-SOC

@ravikr126 ravikr126 added LGMSOC21 This issue will be considered for LGM-SOC 21 🟩 Level1 This issue will be considered as level 1 issue for LGM-SOC 21.Points will be 5 labels Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🟩 Level1 This issue will be considered as level 1 issue for LGM-SOC 21.Points will be 5 LGMSOC21 This issue will be considered for LGM-SOC 21
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants