I got half the code to work for the conversion..I get the same answer for both p
ID: 3798749 • Letter: I
Question
I got half the code to work for the conversion..I get the same answer for both pounds and kilograms....kilograms to pounds is correct....can anyone help 346 Chapter 5 Case Programming Assignments MEDICAL WEIGHT CALCULATOR will execute according to the Before Desktop application and write the code that 5-101 on the next page. Fot requirements in Figure the Use Case in Figure the completed writing the create an event-planning document for each event in on the next page. object and code, user interface are shown in Figure 5-102 other objects in the REQUIREMENTS DocUMENT October 7, 2017 Date: Date Submitted: Application Title: Medical Weight Conversion Calculator This windows Desktop application verts a patient's weight into pounds or kilograms for The medical staff enters the patient's weight and selects either Pounds to Kilograms or Program Procedures: 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. 1. The medical staff must be able to enter the patient's weight and indicate whether it should Algorithms, and converted from pounds to kilograms or kilograms to pounds. Conditions: 2. To convert 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 convert weight. 4. The medical staff must be able to clear their input and the results. 1. If the patient's weight entry isblank or nonnumer advised and asked for a valid entry. the medical staff should be Notes and Restrictions: 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 FIGURE 5-100Explanation / Answer
you must have done a minor mistake while performing a onClickListerner on the radio button.. you need to create two seperate method for the two operation pound to weight n weight to pound, and based on the click on the radio button you need to call the respective method in order to get the correct answer.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.