An open API service indexing awesome lists of open source software.

https://github.com/mrktsm/calculator

JavaFX-based Calculator App for CS216
https://github.com/mrktsm/calculator

css data-structures java javafx object-oriented-programming stack

Last synced: 12 months ago
JSON representation

JavaFX-based Calculator App for CS216

Awesome Lists containing this project

README

          

# Calculator

A simple JavaFX-based calculator developed for CS216 at Gettysburg College. Supports basic arithmetic operations, exponentiation, and a modern, styled UI.

![Untitled design (9)](https://github.com/user-attachments/assets/4feadd11-d164-4a86-b3a8-fb1132c4ef36)

## Features
- Basic arithmetic operations: addition, subtraction, multiplication, and division
- Exponentiation (power function)
- Parentheses support for operation precedence
- Dark-themed UI with gradient-styled buttons
- Responsive and user-friendly interface

## Requirements
- Java 8 or later
- JavaFX installed

## Usage
1. Clone this repository:
```sh
git clone https://github.com/yourusername/calculator-javafx.git
```
2. Navigate to the project directory:
```sh
cd calculator-javafx
```
3. Compile and run the application:
```sh
javac Calculator.java
java Calculator
```

## License

Licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) for details.

```
Copyright 2024

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```