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]...
-
Bradburn Corporation was formed 5 years ago through a public subscription of common stock. Daniel Brown, who owns 15% of the common stock, was one of the organizers of Bradburn and is its current...
-
What is the median level of sedation?
-
What are the advantages and disadvantages of continuous improvement performance reports? Why do you think some companies adopt this philosophy, but others do not?
-
DeColores Paint Company owns ten trucks that it uses to deliver paint and decorating supplies to builders. On average, each truck returns to the companys single loading dock at a rate of three times...
-
Create a well - being strategy for a chosen organization.
-
Use a dot plot to display the data. The data represent the systolic blood pressures (in millimeters of mercury) of 30 patients at a doctor's office. Organize the data using the indicated type of...
-
Given the following items from the balance sheet of the Pipper Company: Assets Cash Accounts Receivable Inventory Land Equipment Total Assets Working Capital is: $10,000 15,000 30,000 20,000 25,000...
-
What is the 1515 rule?
-
Briefly identify how an internal audit department with a strong computer audit orientation might affect the audit plan for a heavily computerized client.
-
The chapter referred to tables, such as a payroll wage-rate table. What are the functions of such tables? What controls should be instituted to ensure the accuracy of the tables?
-
Does members commitment to the group continue to increase through the first four stages of group development?
-
Give one reason the New England Patriots is a successful team.
-
2. a) Discuss the impact of left recursion of a grammar during top-down parsing. b) Let you have assigned a task to develop a lexical error recovery module for a compiler. Analyze and discuss the...
-
Read the Forecasting Supply Chain Demand Starbucks Corporation case in your text Operations and Supply Chain Management on pages 484-485, then address the four questions associated with the...
-
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.
-
The Rankine Corporation reported net income of \($10\) million in 2016, and it appears that net income for 2017 will be the same. During 2017, the company made the following expenditures: 1....
-
The following cash flow information was taken from the 2015 annual report for Johnson & Johnson. Compute the missing values in the table (amounts are in millions). Based on this data, how does the...
-
The following cash flow information was taken from the 2015 annual report for General Electric. Compute the missing values in the table (amounts are in millions). Based on this data, describe GEs...
Study smarter with the SolutionInn App