Reorganice the printf statements and fix core errors within the modificar_ficha() function