AtharvaMaskar26 / CalcMaster

Apache License 2.0
0 stars 3 forks source link

Fix issue 9:add complex number calculator #10

Open manjrekarmihika opened 2 months ago

manjrekarmihika commented 2 months ago

Fixes Issue 🛠️

Closes issue: 9 - Adding complex number calculator

Description 👨‍💻 This pull request adds a fully functional Complex Number Calculator to address the missing functionality. The calculator allows users to perform addition, subtraction, multiplication, and division of complex numbers. The result is displayed in both rectangular and polar forms, ensuring clarity in complex calculations.

The following features are added: Input fields for real and imaginary parts of two complex numbers. Buttons to execute arithmetic operations: Add, Subtract, Multiply, and Divide. A validation function to ensure proper input. A result display showing the result in both rectangular and polar forms. Clear design improvements with modern UI styling.

Type of Change 📄 New feature (non-breaking change which adds functionality) Style (non-breaking change which improves website style or formatting)

Checklist ✅ I am an Open Source contributor I have performed a self-review of my code My code follows the style guidelines of this project I have commented on my code, particularly in hard-to-understand areas

Screenshots/GIF 📷

Screenshot 2024-09-19 at 11 38 10 PM