Exercitiul 23b si c

Explicație pas cu pas:
Nu spun ca e 100% perfect dar macar am încercat...