# Help... Any Idea on how to solve this

**URL:** <https://forum.kirupa.com/t/help-any-idea-on-how-to-solve-this/182310>\
**Category:** programming\
**Created:** [March 17, 2006, 2:47am UTC](https://forum.kirupa.com/t/help-any-idea-on-how-to-solve-this/182310 "2006-03-17T02:47:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eberth](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/eberth/32/41_2.png) [@Eberth](https://forum.kirupa.com/u/Eberth)\
**Post date:** [March 17, 2006, 2:47am UTC](https://forum.kirupa.com/t/help-any-idea-on-how-to-solve-this/182310/1 "2006-03-17T02:47:58Z")

</div>

Hi everybody,  
my teacher left us a homework about a topic that we havent seen, he didnt even tell us the topic so we could research…, well, the problem is this one:

[http://www.karrels.org/Ed/ACM/reg94/prob\_f.html](http://www.karrels.org/Ed/ACM/reg94/prob_f.html)

there is a sollution written in C, we need to submit one made in Java, so, i was wondering if anyone of you programming gurus could help me… and point me in the right direction on how to solve it.

tnx in advance.:snug:
