Create a class for a program entity called: Process, with thefollowing properties Member variables: o Process ID, which is aninteger type o Priority number, which is an integer type o Processarrival time, which is a double (random number) type o Processservice time, which is a double (random number) type o Queue size,which is a ‘private’ integer type o … (more later) Memberfunctions: o Enlist () // for adding a process to a ‘list’ or datastructure o Delist () // for taking a process from a ‘list’ or datastructure o Reset_Priority () // for changing the priority of aprocess o Waiting_Time () // for calculating the time a processwaits in a system o Time_In-System () // for calculating the totaltime a process stays in a system The class must have the specs ofthe variables, and the prototypes of the ‘functions’, stored in aseparate header (.h) file Check the .h file for correctness ofsyntax
Expert Answer
Answer to Create a class for a program entity called: Process, with the following properties Member variables: o Process ID, w…