Create an application that displays a persons maximum heart rate, given his or her age. The maximum

Question:

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%:

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: