It is not homework it's a lab. I created a script to find files within root that had permissions of 722,733,744 or 777, and change those file permissions to 755. After this the next question is contained above.
I've struggled for hours and cannot seem to get anywhere close to understanding how to get input from the user for a PID and nice number to then change the processes nice number to the integer imputed by the user.