Create a console application with the following behaviors:
Design a class Helper. It should have private member variables, or
instance variables, at least for the values temperature, symptoms,
and exposure (decide on appropriate data types), and public
properties to get and set them. It should have a method to convert
the temperature between Celsius and Fahrenheit (search for an appropriate
conversion formula).
An object of class Helper should be instantiated to perform the
following:
• The system should ask the user to input their last recorded
body temperature. Users can input the value in Celsius or
Fahrenheit degrees (split the input into 2 steps, first the value,
then the measurement unit).
• After that, the program should determine if the user has a
fever or not (temperature higher than 98.6°F or 37.0°C). The program
will report if the user has a fever and will also display the
temperature in both formats.
• Two more questions will be presented to the user: 1 if the
user is experiencing any body aches or cough, 2 if the user has
been recently in contact with someone who tested positive for
COVID.
• At this point, the system should determine the overall "risk"
factor for the user. If the user has 1 or more signs for COVID
(temperature, or pain and cough, or exposure), they should be
presented with a message that recommends contacting the local
health department. If not, the system should inform the user that everything
looks okay so far (and remind them of safety guidelines).