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

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms". This assignment will contain two (2) Parts: Written Paper and Visual Basic Prototype. The Visual Basic Prototype is not included in the total page count but is included in the e..

  Visual basic programming discussion

The use of decision logic is one of the major concepts of computer programming. The decision takes your code from being sequential to one that can take various options based on the different conditions. Determine the method of coding that you would u..

  Ticketseller

Use Visual basic 2010Visual Basic,  TicketSeller. This assignment will contain two (2) Parts: Event Planning Document and Coding phase. You must submit both parts as separate files for the completion of this assignment. Remember, you are only to de..

  Data storage & "exception error trapping"

Discussion on Data Storage and  "Exception Error Trapping".

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms".

  The implementation of server side of the application

Implementation of dynamic content, server side (backend) and database for your web site using Microsoft Visual Studio 2012

  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.

  To develop a visual basic console application

The aim of the assessment is to develop a Visual Basic console application that performs a number of mathematical functions. The mathematics package will be menu driven, i.e. a number of options will be displayed, and the user will be able to input w..

  Program in basic which prompts user to input two integers

Write down the program by using Small Basic which prompts the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum).

  Develop vb-net application that includes arrays and loops

Develop a VB.NET application that includes arrays, loops, and IF statements to do the following. Your output must also display the number of applicant(s) being interviewed.

  Visual basic program to accept numeral values

Write a VISUAL BASIC program to accept numeral values of any unit, sum up the total, calculate the average, and then Output the result with a proper unit.

  Write a visual logic program to accept series of number

Write a Visual Logic program which accepts a series of numbers, until the first negative value is entered. The maximum number of non-negative input values is 250.

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