Closed SakshiJSanghavi closed 7 months ago
The latest updates on your projects. Learn more about Vercel for Git āļø
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
calc-for-everything | ā Ready (Inspect) | Visit Preview | š¬ Add feedback | Dec 5, 2023 5:16pm |
Congratulations š @SakshiJSanghavi on your contribution. Thanks for adding value to this repository. š
Issue Id you have worked upon -
567
Briefly explain your program logic -
This React program serves as a Commutative Property Calculator for matrices. Users can input the size (n) of square matrices and fill in their values. Additionally, users have the option to choose between addition (+) and multiplication (x) as the matrix operation. The program calculates both A B and B A based on the chosen operation and checks whether the commutative property holds true by comparing the results. The UI provides a clear representation of matrix inputs, and the user can visualize the commutative property check outcome. The program's logic involves managing state variables for matrix size, matrices A and B, the selected operator, and the result of the commutative property check. It also includes event handlers for user input and a rendering method to display the interactive interface.
Screenshots(Attach 2 screenshots of your own input and output) -
By raising this PR I affirm that -
[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code.
[x] My code gives the correct output.
[x] I affirm that I strictly follow contributing guidelines and code of conduct.