Here is my solution to the Programming Praxis problem for Dec. 18, 2012. It is written in Python, which proved to be quite straightforward. The task: Implement the Petals Around The Rose Game! (see link for more details) My solution:

# Solution: 2013 Equations, Jan. 1, 2013

Here’s my solution to the problem for Jan. 1, 2013. The solution is written in Python. The task: As we begin the new year, we note that 109-8*7+654*3-2/1 = 2013. There are three other combinations of the numbers 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, in order, combined with the five operators […]

# Solution: Three Wise Men Problem, Dec. 28, 2012

This solution is written in Java. The task: Three wise men named Caspar, Melchior and Balthazar went to Macy’s Department Store on 34th Street to buy gifts of gold, frankincense, and myrrh. When they took their gifts to the cashier, she multiplied the prices of the items and found a total price of $65.52, but […]

# Solution: Building Primes Dec. 21, 2012

Here is my solution to the Programming Praxis exercise from Dec. 21, 2012. The solution is written in python. The task: It is sometimes possible, starting with a prime, to add a digit to the front of the number that forms a new prime. For instance, starting from prime 7, adding 1 forms prime 17, […]