Pseudocode

Use pseudocode to write an object-oriented program that consists of class definition and main program to solve given problem-Write a program that inputs(from the user)the number of hours worked and hourly pay rate for employees and outputs their total pay. The program should process an arbitrary number of employee:the user will terminate input by entering 0 for hours worked and pay rate. Use a class called Worker with-Attributes:Hours,Rate,Total-Methods (), GetRate (), SetTotal (), and access methods (SetHours (),GetHours (),SetRate(), GetRate(), and GetTotal() )for each of the attributes.