Task #10

Task where I had to calculate s