Write a program that calculates the tax rate on an employee based on gross pay. He or she will fall into a different tax bracket for anything over $5,000.00. Use the following criteria:
Gross pay Tax Rate
Less than $1,500 15%
Between $1,500 and $2,999 19%
Between $3,000 and $4,999 21%
Use structured pseudocode as demonstrated in the lectures for code, ensure all variables are declared, prompt the user for the appropriate input, and display a meaningful output message. Ensure the provided weekly gross pay is less than $5,000.00.