To be able to avail of the benefit of the collective experience that the monks have and take a rewarding educational leap you've got to make sure you provided enough details representing your problem communicated through :
- Clear language.
- Input example.
- Required output form/example.
- your coding attempts (succeeded or partially succeeded or totally flipped).
That way you will be able to identify strengths and weaknesses in your approach, patch up and polish the code you write and be able to help those who respond to your query so that they provide to you a suitable approach in line with your skills for you to build upon. You will also get to help others who are coming after you up the path
to monkeyness by posting questions that will stand the test of time because they're wholesome, clear and concise. So when you say
'I'm not able to convert'
you're being unclear for you've not mentioned what you have tried to do so far to accomplish this task.
The above list is not exhaustive....Also take time to read:
Excellence is an Endeavor of Persistence.
A Year-Old Monk :D .
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link
or How to display code and escape characters
are good places to start.