Explore BrainMass
Share

Explore BrainMass

    PERL Programming Validate Correctly

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    I am having trouble in getting the sub bodytemp to validate correctly. For example if the user enters 102 for the temp the program will state the patient has expired which is not correct.

    (See attached file for full problem description)

    © BrainMass Inc. brainmass.com October 9, 2019, 6:31 pm ad1c9bdddf
    https://brainmass.com/computer-science/perl/perl-programming-validate-correctly-90539

    Attachments

    Solution Preview

    The reason is because all of the checking such as if($btemp > 102.0 && $btemp < 106.0) are just for greater than or less ...

    Solution Summary

    The expert examines PERL programming to validate correctly.

    $2.19