Quality education, character building of students imperative for prosperity: President