How can i fix this error ??? Assets/PersonajeController.cs(42,3): error CS1525: Unexpected symbol `else'

public class PersonajeController : MonoBehaviour {

public GameObject cam;
public GameObject camPos;

void Start () {
	
}


void Update () {

	if (Input.Gettkey (keyCode.W))
		transform.Translate (new Vector3 (0, 0, 0.1f));
	else {

		if (Input.Gettkey (keyCode.S))
			transform.Translate (new Vector3 (0, 0, -0.1f));

		if (Input.Gettkey (keyCode.D))
			camPos.transform.SentParent (null);
		transform.Rotate (new Vector3 (0, 10.0f, 0));
		camPos.transform.SentParent (transform);
		



	
	
	


					
	}else if (Input.Gettkey(keyCode.A))

	{
						camPos.transform.SentParent(null);
					transform .Rotate (new Vector3(0,-10.0f,0));
					camPos.transform.SentParent(transform);	




					
       
		cam.transform.position = Vector3.Larp(cam.transform.position,camPos.transform.position,0.1f);


}

}

}

this one should work

    public GameObject cam;
    public GameObject camPos;

    void Update()
    {
        if (Input.GetKey(KeyCode.W))
        {
            transform.Translate(new Vector3(0, 0, 0.1f));
        }
        else if (Input.GetKey(KeyCode.S))
        {
            transform.Translate(new Vector3(0, 0, -0.1f));
        }

        else if (Input.GetKey(KeyCode.D))
        {
            camPos.transform.SetParent(null);
            transform.Rotate(new Vector3(0, 10.0f, 0));
            camPos.transform.SetParent(transform);
        }

        else if (Input.GetKey(KeyCode.A))
        {
            camPos.transform.SetParent(null);
            transform.Rotate(new Vector3(0, -10.0f, 0));
            camPos.transform.SetParent(transform);
            cam.transform.position = Vector3.Lerp(cam.transform.position, camPos.transform.position, 0.1f);

        }
    }