I am a beginner coder and I am stuck with this problem. I would really appreciate any help.
a couple solutions come to mind, here are some:
a bunch of if loops with long conditions
write a function that has a variable symptomsCount, and if conditions for each of the 4 symptoms. If symptoms are true, then increment symptomsCount. Then, if symptomsCount is >= 2, return 1
write a function with a symptomsArray and initialize values to 0. If a certain symptom is met, change the corresponding symptomsArray value from 0 to 1. Then, sum the symptomsArray, and if the sum is >= 2, return 1