Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

TUIER vo points) write a program. Submit a program called medicare.c ABC Home Health Company prefers to have Medicare patients since they find the reimbursement

image text in transcribed
image text in transcribed
TUIER vo points) write a program. Submit a program called medicare.c ABC Home Health Company prefers to have Medicare patients since they find the reimbursement (payment) structure is easier to handle. Its marketing team is creating a campaign to target hospitals with higher numbe of Medicare patients. The company has asked you to create a program that would allow it to compare any tw hospitals and determine which of the two is a better candidate for its marketing campaign. Sample Run 1: Number of patients in hospital 1:2 Enter age of patient 1:45 Enter age of patient 2: 67 Number of patients in hospital 2:3 Enter age of patient 1: 34 Enter age of patient 2: 90 Enter age of patient 3: 100 You should pick hospital 2-they have more Medicare patients. Sample Run 2: Number of patients in hospital 1:3 Enter age of patient 1:45 Enter age of patient 2: 67 Enter age of patient 3:67 Number of patients in hospital 2:3 Enter age of patient 1: 34 Enter age of patient 2: 90 Enter age of patient 3: 100 They have the same number of Medicare patients-go for either. a) (15 points) Include this in Answers.doc from problem 1 Break down the given problem into smaller subtasks. You are not required to use the diagraming technique we did in class, but you need to show your approach to the problem along with your thinking process. O POINTS FOR THE WHOLE PROBLEM IF YOU MAKE A POINTLESS FUNCTION. b) (10 points) Include this in Answers.doc from problem 1 Write a function declaration (NOT DEFINITION) for each smaller subtask you created in part a. Indicate the significance/reasons for any parameters you decide to use Enter age of patient 3: 67 Number of patients in hospital 2:3 Enter age of patient 1: 34 Enter age of patient 2: 90 Enter age of patient 3: 100 They have the same number of Medicare patients-go for either. a) (15 points) Include this in Answers.doc from problem 1 Break down the given problem into smaller subtasks. You are not required to use the diagraming technique we did in class, but you need to show your approach to the problem along with your thinking process. O POINTS FOR THE WHOLE PROBLEM IF YOU MAKE A POINTLESS FUNCTION. b) (10 points) Include this in Answers.doc from problem 1 Write a function declaration (NOT DEFINITION) for each smaller subtask you created in part a. Indicate the significance/reasons for any parameters you decide to use c) (50 points) Submit a file called medicare.c Define the functions you declared in part b and write the program. O points if you code everything in main or do not define the same functions declared in part b

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 3 Lnai 9286

Authors: Albert Bifet ,Michael May ,Bianca Zadrozny ,Ricard Gavalda ,Dino Pedreschi ,Francesco Bonchi ,Jaime Cardoso ,Myra Spiliopoulou

1st Edition

3319234609, 978-3319234601

More Books

Students also viewed these Databases questions

Question

a. Describe the encounter. What made it intercultural?

Answered: 1 week ago