Question: Create an application that displays a persons maximum heart rate, given his or her age. The maximum heart rate is calculated by subtracting the persons
Create an application that displays a person’s maximum heart rate, given his or her age. The maximum heart rate is calculated by subtracting the person’s age from the number 220. The application should also display the person’s target heart rate zone, which is 50% to 85% of the maximum heart rate. Use the following names for the solution and project, respectively: Heart Solution and Heart Project. Save the application in the VB2015\Chap04 folder. Create the interface shown in Figure 4-55. The image of the heart is stored in the VB2015\Chap04\Heart.png file. The Age text box should accept only numbers and the Backspace key. When the Age text box receives the focus, its existing text should be selected. Test the application with both valid data (numbers and the Backspace key) and invalid data (letters and special characters).

Heart Rate Chart Age: Max HR (100%): Calculate Exit Target heart rate zone 50%: 85%:
Step by Step Solution
3.42 Rating (161 Votes )
There are 3 Steps involved in it
Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVersion 140220131 MinimumVisualStudioVersion 100402191 ProjectF184B08FC81C45F6A57F5ABD9991F28F Heart Project Hear... View full answer
Get step-by-step solutions from verified subject matter experts
