Answer to Question #214984 in C++ for sumudu

Question #214984
Write a function using c++ statements called predictCount() which takes integer value (as previous week patient Count)as parameter and returns the next week patient count as a float .
(Hint : NextweekPatientCount =PreviousWeekPatientCount*patientrate and patientrate as 1.3)
1
Expert's answer
2021-07-07T18:04:02-0400
float predictCount(int PreviousWeekPatientCount){
    float patientrate=1.3;
    float NextweekPatientCount=PreviousWeekPatientCount*patientrate;
    return NextweekPatientCount;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS