On Sat, Jun 09, 2001 at 01:43:18PM +0800, bdale16 wrote:
> ? How do i affect this type of result to my existing code
> if a grade of a 90-100 = an A
> and a grade of  80-90   = a   B
> and a grade of  70-80 = a C
> and a grade of 60-70 = a D
> and a grade of 0-60 = a F
<snip>

You have the psuedo-code right there, so all you have to do is something
like:

$ cat psuedocode | psuedocode2perl

GIGO of course, since your psuedo-code has logic errors.  For example,
what would a grade of 60 be equal to?  D or F?

-- 
Captain Penny's Law:
        You can fool all of the people some of the time, and some of
the people all of the time, but you Can't Fool Mom.


Reply via email to