3030 Programming Quiz

  

Problem 1

There are two possible solutions

See solution...

Problem 2

See solution...