1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Rep Power

    Perl Gurus - Need your urgent help...

    Could the Perl gurus advice me the answers on the below questions?

    Given the following conditions:

    “If a student scores less than 40% on their test they fail, to earn a distinction they have to score greater than 70%.”
    An application is being developed to sort who earns a distinction, passes, or fails.

    Create a Perl script languages that:

    - Reads the contents of the results.txt file

    - Creates a new file with the file name Pass.[CurrentDate].txt and adds the student names and scores of the users that passed and leaves out the students that scored distinction

    - Creates a new file with the file name Distinction.[CurrentDate].txt and adds the student names and scores of the users that earned a distinction

    - In both instances [CurrentDate] would be the current date at the time the script ran in the format ddmmyyyy
    Last edited by banutest20; April 10th, 2013 at 05:56 PM. Reason: Changing title to be more relevent
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Apr 2009
    Rep Power
    The best advice I can give is for you to try and do your own homework assignment. When you get stuck, post your code and ask specific questions aimed at correcting your mistakes. You'll also need to post the errors and warnings your code produces.

    We are not going to do your homework, but will assist you in the same way your instructor would if you had asked him/her.

IMN logo majestic logo threadwatch logo seochat tools logo