Question: Matlab coding 4. You have just developed a new glucose sensor for people to monitor their blood sugar and test for diabetes. The definitions of
4. You have just developed a new glucose sensor for people to monitor their blood sugar and test for diabetes. The definitions of "normal", "impaired glucose tolerance" (also called prediabetes) and "diabetic" depend not only on the blood sugar reading, but how soon it was taken after a meal, as given in the table below. (Note, do not use this table to make a medical diagnosis) Fasting After Eating 2-3 hours after Eating 80-100 170-200 120-140 101-125 201-230 140-200 Glucose level (mg/dL) Normal Impaired Glucose Tolerance, or "prediabetes" Diabetic 126+ 231+ 201+ Write a program that will take as input the glucose level and time after eating, and tell the user whether their blood sugar levels indicate Normal, Prediabetic, or Diabetic values
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
