Question: I need this application developed in c + + Developing this Application Payslip Class: Define these characteristics in payslip. EmployeeName ( String ) Gross Pay

I need this application developed in c++
Developing this Application
Payslip Class:
Define these characteristics in payslip.
EmployeeName (String)
Gross Pay (Float)
Superannuation Rate (Float).
Superannuation Amount (float)
NetPay (Float)
Methods:
calculateSuperannuation() calculates the superannuation amount based on gross pay and rate.
calculateNetPay() calculates net pay by removing superannuation from gross pay.
getEmployeeName(): Returns the employee's name.
getGrossPay() returns gross pay.
getSuperannuationRate(): Returns the superannuation rate.
getSuperannuationAmount(): Returns the superannuation amount.
getNetPay() returns net pay.
Pay Calculator Class:
Method: calculateWeeklyPay(grossPay): Determines weekly pay based on given gross pay.
Application integration:
Create an instance of the Employee class with the required information.
Make an instance of the PaySlip class, passing the employee object and gross pay.
Use the PayCalculator class to compute weekly pay and save the results in the PaySlip object.
Use the PaySlip class methods to calculate superannuation and net pay.
Test Plan: When application is developed then please develop and apply a test plan to it for followig test cases:
Test cases:
Test Case 1: Calculate weekly wages and superannuation using valid inputs.
Test Case 2: Handle incorrect inputs (such as negative gross pay).
Test Case 3: Verify computations using various superannuation rates.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!