Question 1190038
.


Your solution is absolutely correct for both problems.


My congratulations, you did really good job.



As I see, my teaching was useful to you.



I am very glad.



Come again to this forum soon to learn something new  ( ! )