in reply to Check this code please?

$a = <>; $b = <>; $c = <>; $d = <>; $e = <>;

This part is nonsense, this is where you want to print the results, not read in new data.

Replies are listed 'Best First'.
Re^2: Check this code please?
by Anonymous Monk on Aug 09, 2011 at 06:20 UTC

    PS: Unless I missed something, don't mind the monks too much, your question is clearly marked as homework and you ask for tips rather than solutions. You did the right thing here. They're just cranky cuz some monks are teachers (or something) and they get upset when someone asks for help with homework.