Question: help please Cheek th program. 15. In this exercise, you will create a program that displays the number of daily calorie ed to maintain your


help please
Cheek th program. 15. In this exercise, you will create a program that displays the number of daily calorie ed to maintain your current weight. The number of calories is based on your gender, activity level, and weight. The formulas for calculating the daily calories ar shown in Figure 6-44. need Moderately active female: total daily calories - weight multiplied by 12 calories per pound Relatively inactive female: total daily calories weight multiplied by 10 calories per pound Moderately active male: total daily calories weight multiplied by 15 calories per pound Relatively inactive male: total daily calories weight multiplied by 13 calories per pound Gender Weight 150 120 180 200 Activity Figure 6-44 a. Create an IPO chart for the problem, and then desk-check the algorithm using the b. List the input, processing, and output items, as well as the algorithm, in a chart test data included in Figure 6-44. Also desk-check it using invalid data, such as X as the gender code, K as the activity code, or a negative number for the weight. similar to the one shown earlier in Figure 6-27. Then code the algorithm intoa program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
