Write a shell program to check whether the person can donate blood or not based on the age and weight. Age should be greater than 20 and minimum weight should be 50 in order for a person to donate blood. The input should be taken from the user multiple times and the loop should terminate when the user types “done”.
Answers
Answered by
2
Answer:
Eight out of ten people need blood or blood products at some time in our lives. ... The number of blood donations that patients receive depends on their ... Donors should be between the ages of 18 and 65, weigh at least 50 kg and not have ... on the donor bed for a few minutes longer and then to take some refreshments.
plz mark it as brainlist and thanks
Answered by
1
Shell Script
A shell script is a computer program designed to be run by the Unix shell, a command-line interpreter.
Age = 38
weight = 50
Approximate blood present for a 50 kg Adult = 4.54 kg
Approximate blood needed for a 50 kg Adult = 3.74 kg
.......
Similar questions