Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Please Help! This is a class assignment given to me.

by marto (Cardinal)
on Dec 06, 2019 at 18:14 UTC ( [id://11109767]=note: print w/replies, xml ) Need Help??


in reply to Please Help! This is a class assignment given to me.

Unless you can show what you've tried and how it failed the best advice I can give is to read perlintro and start to work on your assignment. Tutorials->PerlMonks for the Absolute Beginner, How do I post a question effectively?.

Replies are listed 'Best First'.
Re^2: Please Help! This is a class assignment given to me.
by vidyadithya (Initiate) on Dec 06, 2019 at 18:16 UTC

    I dont know where to start or how to start.. :-(

      With respect, you have the problem in English. Your assignment is to write a program in Perl to solve the problem. If you don't know where to begin perlintro or tutorials->Getting Started with Perl is the best place to begin.

      Thanks for admitting this is homework. It's a refreshing breath of honesty for such questions.

      I don't know where to start or how to start

      Start with the links that marto just gave you, combined with the textbook or class notes from the class you are taking.

      1. Figure out the math for how to solve that problem manually. It is a simple math problem, and if you are advanced enough in your education to be taking a class on Perl programming, you should be able to solve it. If you need help with the math, perlmonks isn't really the place, because that's a math question, not a Perl programming question.
      2. Translate that math into Perl syntax. Your textbook or class notes should have examples of how to do the simple math functions required.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11109767]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-03-28 15:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found