Exercitiile 4 si 5. 20p si coroana

4.
5.
Hope this helped!