I finished the last two functions. Actually, they ended up being three because in the second file I did two.
The first exercise was to return the price of a product with tax already included. The function received parameters for the value and the tax, and then I applied the tax to the value and printed it.
The second one was a converter from 24-hour format to 12-hour format. For these two (I’d say both could use quite a bit of work) I didn’t put any input validation or code defense. Basically, that’s it.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.