Question: write a C# program to calculate Pay. Create a class Pay to perform the calculations in a private void method and override ToString() method to
write a C# program to calculate Pay. Create a class Pay to perform the calculations in a private void method and override ToString() method to display results. In the ToString() use the string.format command with placement holders. Only use Property Proceduresin the class to receive data not a constructor. Do not calculate overtime. Declare as constants FICA tax 7.65%; Fed tax 20%; State tax 10%; and Health insurance 7%. The user will enter name, hours worked and rate of pay. Do not code any console commands (read or write) in the class. Create void methods in main for heading and instructions.
C# code needed
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
