Hello and welcome to the Monastery!

To begin, let me point you to a response to a similar thread that looks relevant. (Go ahead, it's a quick read and it'll help. Come back when you're finished.)

Since it's homework, you'll need to do the lion's share in figuring it out. If you get stuck, post specific details about what you tried (e.g. the code), what you expected, what you saw, and what confuses you.

If this is your first programming class, think about the problems you need to solve, put them in order, and then try to solve each in sequence. This particular assignment looks like a traditional top-down approach would be helpful.

We're generally happy to clarify things that don't make sense, but we do expect everyone to do their own homework (which includes basic research).

Marto has given you some good links to help you get started. See where they take you and, if you need to, ask follow-up questions...preferably with code.

--f


In reply to Re: Please Help! This is a class assignment given to me. by footpad
in thread Please Help! This is a class assignment given to me. by vidyadithya

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.