Design a Windows Desktop application and write the program code in Visual Basic 2015, programming homework help

User Generated

pbyvr007

Programming

CIS 267

Strayer University

Description

REQUIREMENTS DOCUMENT

Application Title: Medical Weight Conversion Calculator

Purpose: This Windows Desktop application converts a patient's weight into pounds or kilograms for medication purposes.

Program Procedures: The medical staff enters the patient's weight and selects either Pounds or Kilograms or Kilograms to Pounds. The application will determine the user's weight in pounds or kilograms. Many medications are prescribed based on patient weight in kilograms.

Algorithms, Processing and Conditions: 1. The medical staff must be able to enter the patient's weight and indicate whether it should be converted from pounds to kilograms or kilograms to pounds. 2. To convert pounds to kilograms - divide the number of pounds by 2.2046. To convert kilograms to pounds - multiply the number of kilograms by 2.2046. 3. The medical staff must be able to initiate the calculation and display the converted weight.
4. The medical staff must be able to clear their input and the results.

Notes and Restrictions: 1. If the patient's weight entry is blank or nonnumeric, the medical staff should be advised and asked for a valid entry.
2. The results should be displayed three places past the decimal point.

Comments: The image in this application is named Scale and is a picture of a scale with someone's feet on it.

USE CASE DEFINITION

1. The Windows Desktop application window opens.
2. The medical staff enters the weight for the patient and select Pounds to Kilograms or Kilograms to Pounds.
3. The user taps or clicks the Display Weight button.
4. The program displays the converted weight with the appropriate units to three decimal places.
5. A MsgBox appears and displays a warning if the user enters a negative number for the weight value.
6. A MsgBox appears and displays a warning if the user enters a nonnumeric value for the weight value or does not enter a value.
7. The user can clear the input and the results by tapping or clicking the Clear button.

Unformatted Attachment Preview

FIGURE 5-102 Medical Weight Conversion Calculator Pound and kilogram Conversion Enter Weight: 156 Convert Weight • Pounds to Kilograms • Kilograms to pounds The weight of the patient is 70.761 kilograms. Display Weight Clear JGI/Getty Images
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Hi! Here is your Wi...


Anonymous
Super useful! Studypool never disappoints.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Similar Content

Related Tags