mpc -3 solved assignment