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:
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 […]
This is my first post! On this page, I will post updates about programming projects I am working on. Source code for my projects will follow soon. Yay it’s working!
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 […]
Here is my solution to the Programming Praxis exercise from Jan. 2, 2013. The solution is written in C++. The task: Your task is to write a function that determines if four input points determine a square. My solution:
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, […]