Be the first to like this
You will need to design an application that will prompt a user for his or her hourly pay rate, hours worked, and whether he or she is single, married, divorced, or widowed. It will then calculate the user's gross and net pay. If the user works more than 40 hours, overtime is calculated at 1 ½ times the regular rate and displayed separately. If the user is married, use a flat tax rate of 15%. If the user is single, use 22%, if divorced, use 23%, and if widowed, use 13% (I realize that these are not very realistic).