Skip to content

feat: add calculation chaining, emoji interface, and error handling t… - #686

Merged
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
Alvi24-hub:feature/calculator-chaining
May 23, 2026
Merged

feat: add calculation chaining, emoji interface, and error handling t…#686
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
Alvi24-hub:feature/calculator-chaining

Conversation

@Alvi24-hub

Copy link
Copy Markdown
Contributor

📝 Description

This PR adds three major enhancements to the calculator:

  1. Calculation Chaining — After getting a result, users can choose to chain with new numbers (e.g., 10 + 5 = 15, then 15 × 2 = 30)
  2. New Calculation Option — Start fresh calculation without exiting the program
  3. Emoji Interface — Added emojis throughout menu and outputs
  4. Validates inputs for chaining and new calculation prompts
  5. Fixed exit not stopping the program properly

🔗 Linked Issue

Closes #530


📋 Contribution Checklist

  • My code strictly adheres to the project guidelines (Standard library only, procedural code, clean spacing).
  • I have verified that my files are placed in the correct directory.
  • I have tested my changes thoroughly on my local machine.
  • I have included interactive emojis and clean console/UI outputs.
  • GSSoC 2026: I have been formally assigned to this issue and noted it above.

@vercel

vercel Bot commented May 23, 2026

Copy link
Copy Markdown

@Alvi24-hub is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize it.

@steam-bell-92
steam-bell-92 merged commit 4b1cf6c into steam-bell-92:main May 23, 2026
1 of 2 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Thank you for your contribution!

Your Pull Request has been merged successfully.

We appreciate the time and effort you put into improving this project. Contributions like yours help the repository grow and stay useful for everyone.

If you'd like to contribute again, please check the open issues and make sure you are assigned before opening another Pull Request.

Thanks again for your support! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

💡 [Feature]: Add calculation chaining and emoji interface to Calculator

2 participants