A gym wants to encourage members to burn more calories than their monthly target.
It uses a program to calculate additional calories burned over a 12‑month period.
.... | April | May | June | .... |
.... | 6821.34 | 5129.89 | 4997.67 | .... |
The design below shows how a member’s average additional calories burned is calculated and displayed.
Store each month’s additional calories burned Calculate the average additional calories burned Display the average additional calories burned
|
The data structure calories is used to store additional calories burned each month. The variable avgCalories is used to store the user’s average additional calories burned
State the term used at the evaluation stage, to describe a program’s capability to handle unexpected or incorrect data being entered without crashing.