Prince has confirmed he is writing a memoir, to be published in 2017. The pop star told an audience in…