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

    Chapter 8 Problem 1

    • 175 Words
    • 2 Pages

    Analysis: The problems required output is the students name with scores from three tests. Each student and scores shall be listed on separate lines. The input variables needed for this program include Test1, Test2, Test3, and Student.…

    • 175 Words
    • 2 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
  • Satisfactory Essays

    Florida hospital Westley Chapel has safe and secure ways of transitioning patients to different care sitting outside of the facility. Florida Hospital Westley Chapel has transitioning coordinators who are responsible to identify patient information and send data electronically through patient portal such as Cerner to other facilities that patients are getting treated. Doctors and physician assistant can safely receive patient information, send patient results and other medical history through the portal and also this way is fast, effective and efficient for both Florida Hospital Westley Chapel and the facility that patients are being transferred to.…

    • 123 Words
    • 1 Page
    Satisfactory 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

    Hammond General Hospital is a 334 bed general hospital located in a Mid-western town of 45000 and serves a countrywide population of approximately 140,000. Recently the board of directors at Hammond awarder the management contract of the Food Service Department to an outside company, Master Host Company. Master Host appointed Dave Smith as director of food service. It must be noted that this is the first time in the hospitals history that someone outside the hospital has been appointed as director of a department.…

    • 2321 Words
    • 10 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
  • 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
  • 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

    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
  • Good Essays

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

    • 1476 Words
    • 6 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