Explore BrainMass

Explore BrainMass

    PERL Programming Validate Correctly

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    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 March 4, 2021, 7:15 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.49

    ADVERTISEMENT