Skip to content

Feature/calculator #3318

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
Open

Conversation

AriyaArKa
Copy link

Pull Request Template

What does this PR do?

Copy link

github-actions bot commented Aug 21, 2025

PR Summary

This PR introduces a Calculator class with methods for basic arithmetic operations, square root, and power calculations, and a Student class with name and age attributes and their respective getters and setters.

Changes

File Summary
Calculator.java This file contains the Calculator class, which provides methods for addition, subtraction, multiplication, division, square root, and power calculations. It includes error handling for division by zero and square root of negative numbers.
student.java This file contains the Student class, which represents a student with a name and age. It includes a constructor, getters, and setters for the name and age attributes.

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 (2)
Files Processed (2)
  • Calculator.java (1 hunk)
  • student.java (1 hunk)
Actionable Comments (0)
Skipped Comments (0)

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 (1)
Files Processed (1)
  • Calculator.java (1 hunk)
Actionable Comments (0)
Skipped Comments (0)

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 (3)
  • adce654: Merge branch 'master' into feature/calculator
  • 12b72f4: power added
  • 7e97177: Merge pull request #1 from AriyaArKa/feature/calculator

calcu.java added

Files Processed (1)
  • Calculator.java (1 hunk)
Actionable Comments (0)
Skipped Comments (1)
  • Calculator.java [5-8]

    enhancement: "Improve error handling in divide method."

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