Exercițiul 13!!!!!!!!

Uite rezolvarea exercitiului. Sper sa se inteleaga cat de cat..