wtccjava / CSC256PublicChangeMgmt

Repo for using Issues to track changes
0 stars 65 forks source link

frosas_Bug03 #360

Open Frosas1105 opened 3 years ago

Frosas1105 commented 3 years ago

Describe the bug When running the program, it asks to enter the year of birth and the month of birth. If the user enters a birth year between 1955 through 1959 (inclusive), and between 1938 and 1942 (inclusive) with a month of 0 It will not normalize the birth month correctly.

Program Repo Name: CSC256PublicChangeDoc Cloned Date: 10/1/21, 11:13 AM

Component Full_retirement_calc.py

Error Type Design error.

Severity Severe

Priority TBD

State Open

To Reproduce

Run the file full_retirement_age_calculator_app.py When prompted, enter any year between 1955 and 1959 (inclusive) or 1938 and 1942 (inclusive) Press enter Enter a month of 0 The printed statement should assume that 0 == 1 (January) but it does not Expected behavior When entering 0 for the month the program is supposed to normalize the birth month from 0 to 1. The code is in the program, but it is commented out. This results in incorrect values for the month being displayed to the user.

Screenshots image image

Desktop (please complete the following information):

OS: Windows 10 Browser: Chrome Version: 94.0 Additional context The fix for this problem is written in the code but it is commented out for some reason. Simply taking out the hash tags fixes this. image

Assigned Unassigned

Frosas1105 commented 3 years ago

fix completed