Answer the following parts:
Question:
Part 1: Write a program that calculates and prints the take-home pay for a commissioned sales employee.
Perform a compile-time initialization and store the name of Nesbith Lang in a variable called employeeName.
Nesbith earns 7% of her total sales as her commission. Her federal tax rate is 18%.
She contributes 10% to a retirement program and 6% to Social Security. Her sales this month were $161,432.
- Produce a formatted report showing the amount for each of the computed items. Select appropriate constants.
After you finish displaying Nesbitch Lang's data, change the values and rerun and application.
Part 2: Write a program that computes the average of five exam scores.
• Declare and perform a compile-time initialization with the five values.
• Use a constant to define the number of scores.
• Print all scores and the average value formatted with no digits to the right of the decimal.
• Rerun the application with different values.
Please evaluates and prints the take-home and finds the average of five exam scores Show me all the working and provide the answer.