Skip to content

Feature/grade added #3317

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

TusharKumarRoy
Copy link

new feature (grade calculator) added to master branch

Copy link

github-actions bot commented Aug 21, 2025

PR Summary

This PR adds a new grade calculator feature. It includes three new files: Calculator.java, Grade.java, and Student.java. The Calculator.java file contains basic arithmetic operations. The Grade.java file has a method to determine letter grades based on numerical marks. The Student.java file defines a Student class with name and ID attributes.

Changes

File Summary
Calculator.java This file contains basic arithmetic operations: add, subtract, multiply, and divide. The divide method includes a check for division by zero.
Grade.java This file contains a method getGrade that takes an integer representing marks and returns a letter grade (A, B, C, or F).
Student.java This file defines a Student class with name and id attributes, along with their respective getters and setters, and a constructor.

autogenerated by presubmit.ai

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Review Summary

Commits Considered (6)
  • 4136739: Added Grade.java with grading methods
  • 03177e8: Resolve merge conflict in add function in Calculator.java
  • c20000c: Modified add method in feature/calculator differently to create a conflict
  • dcda634: Modified add method in master to create a conflict
  • e8a43f0: Added Calculator.java with basic operations (add , sub , mul , dev)
  • 693063c: Add Student.java with getters, setters, constructor
Files Processed (3)
  • Calculator.java (1 hunk)
  • Grade.java (1 hunk)
  • Student.java (1 hunk)
Actionable Comments (0)
Skipped Comments (0)

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant