
Donald W. answered 03/23/22
Senior Software Engineer with over 25 years of industry experience
I can understand your confusion, as the requirements don't explicitly say how to get those two pieces of information. My suggestion would be to expand part 1) to also ask for that information, in separate prompts. My assumption is you currently have two prompts, one for the position and another for the number of hours worked. You could add a third prompt for whether or not the employee is opted in to the health plan and then a fourth prompt if the employee opted in to the retirement plan. The fourth prompt should also be conditionally displayed only if the user entered 1 for the first prompt.
Mhd H.
Thank you for the help, ive managed to find a resolve after going through alot of errors.03/23/22