Skip to content
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

Implement RewardValue class for conversions #1435

Open
wants to merge 1 commit into
base: flow
Choose a base branch
from

Conversation

MAYANK5287003
Copy link

Implemented the RewardValue class to handle conversions between cash values and airline miles.
This addition allows the RewardsConverter system to accurately convert between cash and miles, improving the overall functionality of the rewards system.
Unit tests have been added to ensure the conversion methods function correctly.
This class assumes a conversion rate of $0.0035 per mile.

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.

1 participant