Create application that calculates cost of a hospital stay

Assignment Help Visual Basic Programming
Reference no: EM131442640

Visual Basic Assignment

Create an application that calculates the total cost of a hospital stay. The application should accept the following input:

- The number of days spent in the hospital

- The amount of medication charges

- The amount of surgical charges

- The amount of lab fees

- The amount of physical rehabilitation charges

The hospital charges $350 per day.

Create the following functions:

CalcStayCharges - Calculates and returns the base charges for the hospital stay. The is compound as $350 times the number of days in the hospital.

CalcMiscCharges - Calculates and returns the total of the medication, surgical, lab, and physical rehabilitation charges.

CalcTotalCharges - Calculates and returns the total charges.

ValidateInputFields - Checks the validity of the input fields by converting each to a numeric value and checking its range. If any input field is found to be invalid, this function displays an error message and returns a value of False.

Input Validation: Do not accept a negative value for length of stay, medication charges, surgical charges, lab fees, or physical rehabilitation charges.When displaying error messages, use a Label control and specifically name the missing field and the type of data to be entered (integer or numeric).

Reference no: EM131442640

Questions Cloud

Design three navigation options for the website : Design three navigation options for the website. Each option should include links for all the pages. You will use one of these options in the final design.
Illustrate role of big data in performing audit procedures : For the project, you are to put together an audit plan for the company of your choosing. REQUIRED: Illustrate the role of big data in performing these audit procedures
Examine potential changes in it related to innovation : Discuss some of the key issues to be aware of and the best practices to mitigate them.Discuss strategic analysis decisions in the next five years, what we need to watch out for in the information technology (IT) field, and how these decisions will..
Summarize the employment-at-will doctrine : Imagine you are a recently-hired Chief Operating Officer (COO) in a midsize company preparing for an Initial Public Offering (IPO). You quickly discover multiple personnel problems that require your immediate attention.John posted a rant on his F..
Create application that calculates cost of a hospital stay : Create an application that calculates the total cost of a hospital stay. The application should accept the following input: The number of days spent in the hospital and The amount of medication charges.
Research business strategies for recruiting in your region : Research business strategies for recruiting in your chosen region. Identify the top three to five (3-5) factors that would need to be considered when recruiting in the country you chose.Close with a persuasive summary on why you believe these fact..
How should hill account for this lease : What is the theoretical justification for requiring certain long-term leases to be capitalized by the lessee? How should Hill account for this lease at its inception and how is the amount to be recorded determined? What factors drove the decision f..
Create a project to input boat chartering : Create a project to input boat chartering and produce a summary report showing total revenue, number of charters, and average hours per charter.
Find and describe at least three technological components : Over the years, technology has not only changed the way individuals utilize it but also how organizations utilize it. As each generation of technology improves and changes, the availability of technology in the field of business analytics also cha..

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Add a label control to the form

add a Label control that shows the path to the file being processed.add a Label control that shows the path to the file being processed.

  How to validate the user input data using loops

How to validate the user input data using loops. You will write the program in Visual Basic, a console application.

  Need help building a vwd website

Need help building a VWD website. This website may not go live. I have little progress as a family tragedy has impeded my time for school.

  Program to convert nfas into dfas

Write a program that can do one of the functions - Program to convert NFAs into DFAs. and Program to convert RGinto an NFA.

  Design your form as depicted in the given diagram

Design your form as depicted in the diagram below. The text files needed for this assignment should be placed in the bin\debug folder of the project.

  Permit a user to manipulate database using vb

Use VB to permit a user to manipulate database according to following: Permit the user to scroll through list of students while showing student ID, student name, advisor name, and department.

  Create an html table of contents

Create an HTML Table of Contents (toc) on gl. A toc here is simply a list of 7 links in HTML. Submit the single url to your toc on blackboard.

  Determine the output displayed when the button is clicked

Determine the output displayed when the button is clicked. Determine the output displayed when the button is clicked

  Why is exception handling important to software development

Exception handling, some thought should be given to this topic, rather than finding and pasting articles from the Internet into a discussion board. Please respond to all of the following prompts: 1. Why is exception handling important to software dev..

  Salary survey application i created an application in

i created an application in visual basics for a salary survey but i can3939t seem to get the application to work.

  What makes the database product unique

1. What makes the database product unique?  2. What would be required to use the database in your own Visual Basic programming?  3. Could a Visual Basic program, once written, be modified to use a different database product?

  Create a loan program

Create a program with the following forms - Financial Program is forml Investment form is form2

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd