Question
The Age Discrimination in Employment Act (ADEA) forbids treating someone (an applicant or employee) less favorably because of his or her age. However, ADEA only
The Age Discrimination in Employment Act (ADEA) forbids treating someone (an applicant or employee) less favorably because of his or her age. However, ADEA only protects people who are age 40 or older. Write a fully interactive COBOL program to validate ADEA protection. The program requirements are as follows:
1. The COBOL source file must be named as LastnameFirstinitialA4.cbl (e.g., BasilioEA4.cbl).
2. Include comments describing the purpose of the program and to provide the required class identifying information.
3. The PROGRAM-ID section of the IDENTIFICATION DIVISION must be written as LastnameFirstinitialA4 (e.g., BasilioEA4).
4. Use extended ACCEPT and DISPLAY statements or SCREEN SECTION to capture input from the user and to display output to the user.
5. The program will ask the user to enter the name and date of birth of the person to be validated for ADEA protection.
6. ADEA protection message: a. If the person is 40 years of age or older, then the program should display a message indicating that the person qualifies for ADEA protection. b. If the person is less than 40 years of age, then the program should display a message indicating that the person does not qualify for ADEA protection.
7. The program should continue validating individuals for ADEA protection until the user indicates that there are no more individuals to validate.
8. Create the Pseudocode for the program and save the file as LastnameFirstinitialA4.docx (e.g., BasilioEA4.docx) or LastnameFirstinitialA4.pdf (e.g., BasilioEA4.pdf).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started