IonicWind Software

Announcements => User Offerings => Topic started by: carpman2007 on March 08, 2009, 05:00:03 PM

Title: Tricky logical problem and donation
Post by: carpman2007 on March 08, 2009, 05:00:03 PM
Hello everyone,

Here's a little program I'd like to submit (attached to this post in a ZIP archive).

It doesn't really do anything special other than solve a specific logical problem, but it's kind of neat.  My coworker needed to write a program to do this for his C++ class that he's in, and he wasn't sure how to go about it, so he asked me for help.  It drove us crazy, but eventually we came up with a solution, and I admit we got a push in the right direction with a hint that was provided to us by someone on the MSDN forums.

What's interesting is that he (my coworker) was restricted from using methods that they hadn't discussed in class yet, such as arrays and things like that -- the problem HAD to be solved using only loops and basic math operations.

So, happy programming to all!