Error message after running the solution query
It looks like you've worked on the previous assignment with the wrong way.
In your error message, the number of arguments is incompatible with the procedure
emp_info, it should take a 3 parameters: first name, last name, and v_emp_no as a variable for output.
To fix this, run the code for the previous assignment (which creates emp_info procedure) and then run the solution code for this assignment.