Skip to content

added scientific calculator #2671

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

Merged
merged 1 commit into from
May 10, 2025

Conversation

LAbhilashKumar
Copy link
Contributor

@LAbhilashKumar LAbhilashKumar commented May 9, 2025

Scientific and Basic Calculator (Python)

This Python program implements both a basic calculator and a scientific calculator. The basic calculator supports standard arithmetic operations like addition, subtraction, multiplication, and division. The scientific calculator, on the other hand, offers a range of advanced features, including:

Pi Calculation: Multiply a number by pi.

Sin: Perform trigonometric calculations with angle conversion from degrees to radians.

Exponentiation: Raise a number to a specific power.

Square Root: Calculate the square root of a number.

Round: Round a number to the nearest integer.

Absolute Value: Get the absolute value of a number.
The program offers an interactive console interface where users can choose between basic and scientific modes
It also includes error handling to ensure smooth execution, even if invalid input is provided

Addresses issue: #1460

@geekcomputers geekcomputers merged commit 1878c00 into geekcomputers:master May 10, 2025
0 of 2 checks passed
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.

3 participants