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

[email protected]_1 #569

Open
emnajli opened this issue Oct 18, 2021 · 0 comments
Open

[email protected]_1 #569

emnajli opened this issue Oct 18, 2021 · 0 comments

Comments

@emnajli
Copy link

emnajli commented Oct 18, 2021

Feature request 1
A Feature is a request for new function, and not related to something that must be "fixed."

Is your feature request related to a problem?
Yes, my feature request is related to a problem
• When the program prompting the user to enter month of birth, if the user enters a 0 as month of birth, the program should return an invalid month to reach the NRA.

Program
CSC256PublicChangeDoc
10/03/2021 12:33pm

Component
C:\Users\elmeh\Documents\CSC256\Unit7\CSC256PublicChangeDoc\changedoc

Describe the solution you'd like
The program should return “invalid month” instead of accepting the 0 as a value of month of birth

Describe alternatives you've considered
We can change the IF statement in line 80 on full_retirement_calc.py file by changing < to <=:
if age == -1 or birth_month_normalized <= 0 or birth_month > 12:
instead of:
if age == -1 or birth_month_normalized < 0 or birth_month > 12:

Additional context
if age == -1 or birth_month_normalized <= 0 or birth_month > 12:
return -1, 'invalid'

Priority
TBD

State
Open

Assigned
Unassigned

Cost
TBD

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

No branches or pull requests

1 participant