Chapter 3 Daily 04

We discussed how to write the number reverse function, nr: Integer -> Integer.

nr 60201 == 10206

Helper functions:

We wrote those in class. You should make sure those work and complete the writing of the nr function.

Using these ideas, you should also be able to finish the hexDec function — if you had troubles please look at it again.