The medical staff enters the patients weight and selects


Lab: Medical Weight Conversion Calculator

• Required course textbook
• Microsoft Visual Studio 2015 software or more recent
• Internet browser: Internet Explorer 8 or more recent
• Windows Operating System: Windows 7 or more recent is recommended

Complete the weekly labs based on the following:

• Write the code for each exercise.
• Take a screen shot of each completed Case Programming Assignment.
• Take a screen shot of each completed Guided Development Program problems.
• The code, along with a correlating screen shot, is to be submitted in a single zip file in the online course shell. It must contain any additional files that may be necessary for your project to run (ex: text files).
• Any and all written answers must be entered into the online course shell with the submission of the attached lab assignment.

Each lab assignment will be graded based on the following:

1. The program must compile, execute, produce correct results, and meet all of the specifications in the weekly lab.

Additionally you must:

2. Organize the code for user readability.
3. Organize the code for reusability.
4. Provide documentation with embedded comments for reader understanding.
5. Organize the code for efficiency.

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 to 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 available on CengageBrain.com.

USE CASE DEFINITION

1. The Windows Desktop application window opens.
2. The medical staff enters the weight for the patient and selects Pounds to Kilograms or Kilogram to Pounds.
3. The user raps or dicks 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 NIsgBox 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.

1983_JGI_Getty Image.jpg

Solution Preview :

Prepared by a verified Expert
: The medical staff enters the patients weight and selects
Reference No:- TGS01527384

Now Priced at $30 (50% Discount)

Recommended (92%)

Rated (4.4/5)