Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
When a user enters 101 for a temperature the program states the patient has expired which is not the correct response. How do I correct the problem.
#!/usr/bin/perl
sub bodytemp { print"Please Enter Patients Temperature between 85.0 to 105.0: "; $btemp = <STDIN>; if($btemp < 70.0 || $btemp > 105.0){ print "Invalid Temperature!\n"; next;} if($btemp >= 102.0 && $btemp < 106.0){ print "Give Tylenol 2 tablets 325 mg each or suppository every 4 hours.\n"; } elsif ($btemp > 101.0 && $btemp < 101.9){ print "Give Tylenol 2 tablets 325 mg each or suppository every 4 hours as needed for temperature.\n"; } elsif ($btemp > 95.0 && $btemp < 100.9){ print "Patient temperature is within normal limits and no corrective action is needed at this time.\n"; } elsif ($btemp > 85.0 && $btemp < 94.9){ print "Patient is hypothermic and must be warmed up slowly.\n"; } else{ print "Patient has expired.\n"; }
}sub resprate { print"Enter Patient Respiratory Rate Based on a 1 Minute Count: "; $resp = <STDIN>; if($resp < 0 || $resp > 50){ print"Invalid Respiratory Rate!\n"; next;} if($resp > 40 && $resp < 51){
} elsif($resp > 12 && $resp < 39){ print"Respiratory Rate is Normal.\n"; } else{ print"Start Respiratory Rescue!\n"; }
}sub patientweight { print"Enter Patient Weight in Pounds: "; $wt = <STDIN>; if($wt < 0 || $wt > 400){ print"Invalid Weight!\n"; next;} $pwt = $wt/2.2; printf"Patient Weight in kg: %8.2f\n", $pwt;}
VITAL:{ while(1){ &bodytemp; &resprate; &patientweight; print "Ready to quit (yes or no)? "; chomp($answer = <STDIN>); if ("$answer" eq "yes") {last;} redo VITAL; }}
The GUI program will have a button that creates a new window with the word Hello. Enhance the display by making the word change color, move, or change to another language (such as Hola).
In this project, you will develop a program to determine the final scores, letter grades, and rankings of all students in a course. All records of the course will be stored in an input file, and a record of each student will include the first name..
Briefly describe each of the listed network security applications and security countermeasures. Identify where each security application or countermeasure is located within the seven domains of a typical IT infrastructure.
Complete the program that solves the Eight Queens problem. The program's output should look similar to:
Write a program using binary search approach
Write a program that prompts a salesman to enter his-her status and total sales. Compute the following: their status; total sales; commission rate applied; the commission ($) earned (the appropriate rate times the sales)
Write a hand-coded top-down recursive descent parser.
Show the source code for a C# console application named"MyName" that prints your last name, a tab, and then your first name.
The start of Buy Fifa Coins the one of the most well-known minutes presenting football greatest expertise of reviewing. Before we look into the coordinate it is only reasonable to take a brief look into the gamer considered as one of the best game..
Create and execute the class called Book which contains instance data for title, author, publisher, and copyright date. Explain the Book constructor to accept and initialize this data.
To design a class-based solution to a problem using multiple data structures.
Write a Perl program that given a DNA string, prints out the 20 characters upstream of the start codon ATG
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd