Question: Console Application in C# Create an application that enables you to randomly record heart rates at four different times throughout the day for yourself and

Console Application in C#  Console Application in C# Create an application that enables you to

Create an application that enables you to randomly record heart rates at four different times throughout the day for yourself and at least one more person. Record the rate at 0700 (7 a.m.), 1200 (noon), 1700 (5 p.m.), and 2100 (9 p.m.). Your resting heart rate, or pulse, is the number of times your heart beats a minute. According to the American Heart Association, when you're seated or lying down and relaxed, a normal heart rate is between 60 and 100 beats a minute. Record the value as heart beats per minute Generally, a lower heart rate at rest implies more efficient heart function and better cardiovascular fitness. A heart rate of less than 60 beats per minute (BPM) in adults is called bradycardia. However well-trained athletes might have a normal resting heart rate closer to 40 beats a minute or lower. For example, the world record for the slowest heartbeat in a healthy human is 26 BPM. Too fast of a heart rate, more than 100 beats per minute (BPM) in adults, is called tachycardia. Recall one way to take your pulse rate: 1. Find a watch or an electronic device with a second hand and place it on your right wrist or on the table next to your left hand 2. After finding your pulse, count the number of beats for 20 seconds 3. Multiply by 3 to get your heart rate, or beats per minute (or just count for 60 seconds for a math-free option). For maximum credit create a two-dimensional array to hold the inputted data. If the same person and time are entered more than one time, store the last smallest value entered into the array. For example, if my pulse was 67 at 7 a.m., I might store 67 in my array at cell 0, 0. When I entered 75 for my roommate for the 7 a.m. recording, I'd store the 75 at cell 1,0 assuming rows were used to record different individuals. If I next had a reading for myself at 7 a.m. and it was 66, the 66 should replace the 67 at cell 0,0. But if my roommate's next 7 a.m.'s recording was 79, the 75 should remain unchanged at cell 1,0 Create a user interfate (console or Windows) to collect the data. After all data has been entered, display the results (Name and recordings for each time period). Be sure to include appropriate labels. For maximum credit define another array to store and retrieve the times as well as the names of the participant. So you might end up with output that resembles: 7 AM 70 58 Noon 68 65 5 PM 72 70 9 PM 67 65 2. Before the application closes store in a text file the names and an overall average pulse rate for the individual along with an indication of whether they have a bradycardia, tachycardia or normal heart rate For maximum credit, write a modularized multi- class solution which include exception handling techniques and demonstrates that you can apply the many concepts illustrated throughout th semester

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!