0% found this document useful (0 votes)
17 views10 pages

Efficient C++ Surveying Sample Program

Uploaded by

Jaid Hedriana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views10 pages

Efficient C++ Surveying Sample Program

Uploaded by

Jaid Hedriana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Efficient C++ Surveying

Sample Program
Surveying about Depression Sample Program
OBJECTIVE:
• To help the researchers conduct their survey efficiently,
easy and faster especially for students nowadays. With
this program, the result can be given right after they
finish the survey. The survey can also be given online
anytime and anywhere as long as they have an internet
connection. It can be useful for a large sample size
survey. The usage of paper and pen is not necessary
anymore for this modernized survey.
ALGORITHM:
Step 1 : Input a1, a2,a3, a4, a5, a6, a7 , a8, a9,
Step 2: Score = (a1+a2+a3+a4+a5+a6+a7+a8+a9)
Step 3:
if (Score <= 4)
print "Depression Severity: Minimal"
else if (Score <=9)
print "Depression Severity: Mild"
else if (Score <=15)
print "Depression Severity: Moderate"
else if (Score <= 19)
print "Depression Severity: Moderately Severe. Seek professional help."
else if (Score >= 20 )
print "Depression Severity: Severe. Seek professional help immediately."
else
print "You are fine."

End if
FLOWCHART:
COMPLETE PROGRAM
SAMPLE RUN

You might also like