Preview

Hospital and Square Feet

Satisfactory Essays
Open Document
Open Document
389 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Hospital and Square Feet
“In the name of Allah, most gracious and most merciful"

“Indeed, Allah will not change the condition of a people until they change what is in themselves.” (Al-Quran 13:11)

Allah has a beautiful plan for every woman and man. Trust Allah and pray and He will light the way. (Wael Abdelgawad)

Programming Fundamentals (Spring 2013) Assignment No. 5
Deadline: 06/05/2013 11:45PM

Design following programs in Visual C++:  Question # 1
Write a program that dynamically allocates an array large enough to hold a user-defined number of test scores. Once all the scores are entered, a function should be called that sorts the array in ascending order. Another function should be called that calculates the average score. The program should display the sorted list of scores and averages with appropriate headings.

 Question # 2
Artistic Solutions, a painting company, has determined that for every 160 square feet of wall space, one gallon of paint and three hours of labor are required. The company charges $28.00 per hour for labor. Design a modular program that allows the user to

enter the number of rooms that are to be painted, the approximate square feet of wall space in each room (it may differ from room to room), and the price of the paint per gallon. It should then create a report that displays the following information: • The number of gallons of paint required (rounded up to the next full gallon). • The hours of labor required. • The labor charges. • The total cost of the paint job.

 Question # 3
Write a program that computes and displays the charges for a patient’s hospital stay. First, the program should ask if the patient was admitted as an in-patient or an outpatient. If the patient was an in-patient the following data should be entered: • The number of days spent in the hospital • The daily rate • Charges for hospital services (lab tests, etc.) • Hospital medication charges. If the patient was an out-patient the following data should be entered:

You May Also Find These Documents Helpful

  • Satisfactory Essays

    accounting week 4 answers

    • 469 Words
    • 5 Pages

    Production records show that there were 540 units in the beginning inventory, 30% complete, 1,580 units started, and 1,600 units transferred out. The beginning work in process had materials cost of $2,930 and conversion costs of $1,670. The units in ending inventory were 40% complete. Materials are entered at the beginning of the painting process.…

    • 469 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Your goal is to solve the following simple programming exercise. You have been contracted by a local restaurant to design an algorithm determining the total meal charges. The algorithm should ask the user for the total food purchase and the tip percent. Then, the algorithm will calculate the amount of a tip, a 7% sales tax, and the total meal charge (including tip). The food purchase, sales tax, tip amount, and total meal charge will need to be displayed to the customer.…

    • 285 Words
    • 9 Pages
    Satisfactory Essays
  • Satisfactory Essays

    unit 3

    • 313 Words
    • 2 Pages

    Design a program that calculates the total amount of meal purchased at a restaurant. The program should ask the user to enter the charge for the food, and then calculate the amount of a 15% tip and 7% sales tax. Display each of these amounts and the total.…

    • 313 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    What are the major differences between inpatient and outpatient hospital services? Describe how these differences affect the coding process and provide examples.…

    • 354 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Ms Project Lesson 3

    • 298 Words
    • 2 Pages

    A painter is assigned to paint the living room in 4 days which is 32 hours of work. The customer asks the painter to paint another room, but the painter can only work part time 50%. Enter 50%, the project keeps the duration fixed at 4 days and recalculates the work to be 16 hours.…

    • 298 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Cases in Healthcare Finance

    • 4283 Words
    • 18 Pages

    2. What are the allocations to each patient services department, and resulting profitability, under the four allocation methods using the base case cost amounts (Exhibit 4.1) and allocation rates (Exhibit 4.2)?…

    • 4283 Words
    • 18 Pages
    Powerful Essays
  • Satisfactory Essays

    Riverbend City Hospital, like all hospitals, has an organizational culture. In this example, a patient’s care was impacted by various issues related to organizational culture. Power relationships, social issues, economic issues, and cultural issues are evident dynamics at the facility ("Riverbend City," 2016).…

    • 236 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    The main organelle is the nucleus. I think the nucleus is like the hospital administration because the nucleus is the core of the cell that handles everything, and the hospital administration handles everything that goes on in the hospital. Without the “cores” for both the hospital and the cell, neither could properly functions. The nucleolus is the center of the nucleus, and it basically sends out all of the other organelles that work within the cell. I compared the nucleolus to the hospital's CEO, who is the main person in the administration. He rules the whole administration, therefore, he is the grand master and without him the organelles/hospital staff would not know where to be to do their jobs. The cytosol is the main liquid, where all of the organelles are positioned. I compared this to the actual hospital building, because though the building is not a liquid, it is where all of the people are "positioned," or where they all work. The centrioles are rings of 9 groups of microtubules. They are part of the cytoskeleton. They help make the cell expand. I compared this to the architects and construction workers who expand the hospitals. Centrosomes are made up of centrioles, and they are even bigger on cell expansion. I compared them to the planning committee that discusses expansion of the hospital, because they are ones who plan on how they are going to follow through with the expansions. The cell's Golgi transports important "packages" all around the cell, sending out important information. I related this to the hospital's mail department, and the series of pneumatic tubes spread throughout the hospital, because the mail department is where things are packaged up to be sent to and throughout the hospital, and the pneumatic tubes send things to other parts of the cell. The lysosome kills all of the bad bacteria so that it can't infect the cell. I compared this to the hospital incinerator, because the…

    • 709 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    I think the ideas you came up with to reduce overall budget on your unit were very smart. I hadn’t even thought about using 3-in-1 shampoo to lower costs, but it really would help. Just one small item like a hygiene product can end up making a huge difference. Before this week’s assignment I hadn’t thought much about hospital costs. Of course I know they are expensive, but I guess I didn’t put too much thought into every little detail. Now knowing how much it costs a patient to stay one day on the medical-surgical unit at St. John’s Hospital really put things into perspective for me. “To provide care and appropriately advocate for patients in the 21st century, all nurses need at least a basic understanding of health-care costs” (Marquis & Huston,…

    • 202 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Unit10OpenResponse

    • 607 Words
    • 4 Pages

    D. Compute the areas, number of gallons you will need (if different paints are used, how much of each), and final cost for paint. Show your computations here.…

    • 607 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Employee Knowledge / Experience - Inner-City Paint has no worker training programs implemented into the business which results in a huge lack of knowledge in basic business procedures. The inexperience of the 35 unskilled laborers, as well as the inexperience and youth of the plant manager makes it difficult to believe that the company's business practices are organized in the most efficient way.…

    • 452 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    (in terms of square metres per painter hour) for the three painters taken as a team? Assume the…

    • 1516 Words
    • 7 Pages
    Good Essays
  • Good Essays

    Psychology Assignment

    • 1556 Words
    • 7 Pages

    10. College XYZ wants to collect information from students concerning a plus/minus grading system (the college administration wants to add minus grades to the plus values…

    • 1556 Words
    • 7 Pages
    Good Essays
  • Powerful Essays

    Topics in C Programming.

    • 3554 Words
    • 15 Pages

    This document is not intended to be a text on C programming. Because many of you may not have had the opportunity to use or practice C programming, we are attempting to provide a brief description of some of the elements of C which you will need in your laboratory work. We will leave out many topics but will try to provide simple, although sometimes incomplete, explanations of some of the basic elements of C.…

    • 3554 Words
    • 15 Pages
    Powerful Essays
  • Good Essays

    • P. D. 856 – Code on Sanitation of the Philippines and Its Implementing Rules and…

    • 1476 Words
    • 6 Pages
    Good Essays