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

  Remove minimize, maximize, and close buttons from the title

Perform the appropriate steps to create a connection to the sample database. Be sure to select the option to copy the database to your project so it will be automatically included in the project.

  Problem involving option buttons and radio buttons.

The Solution cannot be opened with Visual Basic 2010.

  Write a menu-driven program to manage a membership list

Write a menu-driven program to manage a membership list. Assume that the names and phone numbers of all members are stored in alphabetical order (by last name and then by first name) in the text file MemberPhones.txt. Each record consists of two fi..

  Visual basic application which inputs series of integers

Winner of a sales contest would input number of units sold by each sales person. Write down visual basic application which inputs series of 10 integers and finds and displays largest.

  Create and design a database in ms access

Visual Programming (COMP 1007) - The experience to use visual programming language, create simple graphical user interfaces with event-driven programs, develop data connectivity and design reports within an applications environment.

  Provide a set and a get method for each instance variable

Provide a set and a get method for each instance variable. provide a method getInvoiceDetail that returns all the information(in the form of string) contained in the invoice object.

  Write a vbscript function called maxnum that accepts numbers

Write a VBScript function called MaxNum that accepts two numbers and returns the largest of the two numbers

  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

  Organize the code for user readability

Organize the code for reusability, Provide documentation with embedded comments for reader understanding

  Write the code to open the file and copy the raw data

Write the code to open the file and copy the ‘raw' data from the file into a ListBox. Write the code to save the data in the ListBox to a new file.

  Assignment on visual communication

Project teams from Stone Yamashita Partners (profiled in the chapter-opening "Communication Close-Up) look for new ways to connect and explore business ideas through creative

  Develop a bankaccount windows form project

Develop a "BankAccount" windows form project, which will allow user to

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