Design a Windows Classic Desktop application and write the code that will execute according to the program
Fantastic news! We've Found the answer you've been seeking!
Question:
Design a Windows Classic Desktop application and write the code that will execute according to the program requirements in Figure 7-62. Before designing the user interface, create a Use Case Definition. Before writing the code, create an event planning document for each event in the program.
Transcribed Image Text:
REQUIREMENTS DOCUMENT October 19, 2019 Date: Date Submitted: Application Title: Purpose: Program Procedures: Algorithms, Processing, and Conditions: Notes and Restrictions: Comments: Body Mass Index (BMI) Calculator with CDC Chart This Windows Classic Desktop application allows the user to enter a height and weight and computes the user's body mass index. An interpretation according to CDC standards is displayed correlating to the BMI value. The user will enter a height and weight using either the imperial or metric system. 1. The user first views a Windows application that displays a title, a BMI graphic, a ListBox object to select the imperial or metric system, and labels to enter information for the user's height and weight. 2. When the user selects imperial or metric and the height and weight, the Compute BMI button can be selected. 3. A Sub procedure should be called to handle the imperial and metric BMI calculations using the following formulas: BMI - (Weight in Pounds/ (Height in Inches * Height in Inches))*703 BMI = Weight in Kilograms/ (Height in Meters "Height in Meters) 4. Two Function procedures should be called based on the system selected. Each Function procedure will calculate the BMI and return the Decimal value to the calling procedure. The original procedure will display the result. 5. According to the CDC, the BMI relates to the following interpretations: BMI Weight Status Below 18.5 18.5 24.9 Underweight Normal Weight 25.0-29.9 Overweight 30.0 and Above Obese Display a label with the weight status in the original procedure based on the BMI/ Weight Status chart. 1. The result should be calculated to the hundredths place. 2. The input values should be validated by a Try-Catch block. 1. An image from the web should be used for the background BMI graphic on both forms. 2. An opening splash screen should be displayed for two seconds. FIGURE 7-62 REQUIREMENTS DOCUMENT October 19, 2019 Date: Date Submitted: Application Title: Purpose: Program Procedures: Algorithms, Processing, and Conditions: Notes and Restrictions: Comments: Body Mass Index (BMI) Calculator with CDC Chart This Windows Classic Desktop application allows the user to enter a height and weight and computes the user's body mass index. An interpretation according to CDC standards is displayed correlating to the BMI value. The user will enter a height and weight using either the imperial or metric system. 1. The user first views a Windows application that displays a title, a BMI graphic, a ListBox object to select the imperial or metric system, and labels to enter information for the user's height and weight. 2. When the user selects imperial or metric and the height and weight, the Compute BMI button can be selected. 3. A Sub procedure should be called to handle the imperial and metric BMI calculations using the following formulas: BMI - (Weight in Pounds/ (Height in Inches * Height in Inches))*703 BMI = Weight in Kilograms/ (Height in Meters "Height in Meters) 4. Two Function procedures should be called based on the system selected. Each Function procedure will calculate the BMI and return the Decimal value to the calling procedure. The original procedure will display the result. 5. According to the CDC, the BMI relates to the following interpretations: BMI Weight Status Below 18.5 18.5 24.9 Underweight Normal Weight 25.0-29.9 Overweight 30.0 and Above Obese Display a label with the weight status in the original procedure based on the BMI/ Weight Status chart. 1. The result should be calculated to the hundredths place. 2. The input values should be validated by a Try-Catch block. 1. An image from the web should be used for the background BMI graphic on both forms. 2. An opening splash screen should be displayed for two seconds. FIGURE 7-62
Expert Answer:
Answer rating: 100% (QA)
Step 1 The code below is how I implemented the desktop application in this case Step 2 Explaining Procedures 1 To begin construct a Windows form and a... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
Create a Windows form mockup for the following requirements document and Use Case Definition The Windows Form object and the other objects in the user interface are shown in Figure 282
-
Write a paper on "Employment as a User Interface Developer" CAREER PREPARATION 1. PLAN: From career exploration you should establish your career objective. What are the industries you have targeted...
-
Create a JavaFX program to allow a user to query the Northwind database. You should be able to perform the following functionality using the program: Print order total (not including the freight...
-
C) Use the appropriate Maxwell relation and determine whether the specific heat capacity at constant pressure (Cp) is a function of pressure at onstant temperature for: i) An ideal gas ii) [6 marks]...
-
Fled Flightstone Minings management does not like to pay cash dividends due to the volatility of the companys cash flows. Fled management has found, however, that when it does not pay dividends, its...
-
You plan to borrow $48,400 at a 7.5% annual interest rate. The terms require you to amortize the loan with 10 equal end-of-year payments. What is the ending balance at the end of Year 3 ?
-
A student advisory board consists of 17 members. Three members will be chosen to serve as the boards chair, secretary, and webmaster. Each member is equally likely to serve in any of the positions....
-
The local bank offers to pay 5% interest on savings deposits. In a nearby town, the bank pays 1.25% per 3 month period (quarterly). A man who has $3000 to put in a savings account wonders whether the...
-
Why is the Transfer price important to performance measurement? What precisely does the minimum transfer price attempt to compensate the selling division for? Why might an internal order cause the...
-
Using lab 7 with a three-day lead time (all original values), we will analyze six different scenarios to determine which would be the best scenario based on the total cost. Scenario A - Min is 3,500...
-
How can a hospital benefit from using business analytics to provide better patient care?
-
3) Ben and Jerry are movers for Super Duper Moving company. They are arguing about the need for the ramp. Ben says that they do not need the ramp because the height to the truck is the same, so they...
-
You have just been hired by FAB Corporation, the manufacturer of a revolutionary new garage door opening device. The president asked you to review the company's costing system and "do what you can to...
-
72. For a chemical reaction if rate constant is 2 103 mol L min then order of reaction is :- (1) Zero (2) 1 (3) 2 (4) Can not predict 73. Which of the following is not an electrophile? (1) CH3 (3) C...
-
https://docs.google.com/spreadsheets/d/1Hl60qFkAf30yzEF9JLPROSu6DNA9Nu52Ze21jJ8i-lQ/edit#gid=0 reference/data Calculate the weekly/monthly operating costs of payroll, rent, and utilities for Crimson...
-
(a) Explain the following terms as used in international finance: (i) Floating rate notes (FRNs). (1 mark) (ii) Forfaiting. (1 mark) (iii) Crowd funding. (1 mark) (iv) Green bond. (1 mark) (b) One of...
-
Hawk, Inc. has a 15% required rate of return. Three divisions of Hawk have proposed three projects to increase income over the next 12 years. Three divisions report different measures as follows:...
-
Determine the annual percentage yield for a loan that charges a monthly interest rate of 1.5% and compounds the interest monthly.
-
Which of the following instructs a function to return the value stored in the dblBonus variable? a. Return dblBonus b. Return ByVal dblBonus c. Send dblBonus d. SendBack dblBonus
-
In this exercise, you create an application that allows the user to enter the gender (either F or M) and GPA for any number of students. The application should calculate the average GPA for all...
-
Which of the following refers to the process of connecting a dataset object to a control in the interface? A. Assigning B. Binding C. Joining D. None of the above.
-
A construction contract differs from contracts that we generally deal with that focus on an easily defined physical object because the physical object can be examined. How is the object of a...
-
What does the owner contribute to the project and what does the contractor contribute to the project?
-
The construction schedule is the only project document that fully communicates the contractor's intentions for delivering the contracted scope of services over the full course of the project...
Study smarter with the SolutionInn App