Modify the indication of an I/O interrupt such that it is now indicated by 3 data items: I (I/O interupt ), 1 ( success ) or 0 ( fail ) , P ( Printer ) or D ( disk ). A success response causes change of process state and updates corresponding pool. Test program with
other interrupt events.
If an I/O fail interrupt occurs, display the message “Process 1/2/3 will be aborted due to failed printer/disk request”.
Let your program loop until some end of inpute indicator.
