Answer:
The C# code is given below
Explanation:
using System;
public class SwimmingWaterTemperatur
{
public static void Main()
{
while(true){
Console.Write("\nPlease enter the water temperature : ");
int x = Int32.Parse (Console.ReadLine());
try{
if(CheckComfort(x)){
Console.Write(x+" degrees is comfortable for swimming.");
}else{
Console.Write(x+" degrees is not comfortable for swimming.");
}
}catch(Exception ex){
Console.WriteLine(ex);
}
}
}
public static Boolean CheckComfort(int temp){
if(temp>=70 && temp<=85){
return true;
}else if(temp>=32 && temp<=212){
return false;
}else{
throw new ArgumentException("Value does not fall within the exptected range.");
}
}
}
Answer:
firewalls and encryption
Explanation:
the company placed a firewall and an encryption code to the hard drive as a precaution against theft and malicious intent
Answer: When was admitted, hospital authorities recorded his medical history. Then, placed in an ICU where his vital signs were constantly monitored.
Explanation: With the help of computers, medical histories are often kept in the computer for future reference. Machines are connected to computers to record vital signs.