while statement implementation of sentinel loop: int score; int sentinel = -1; printf("Enter first score>"); scanf("%d", &score); while (score != sentinel) { process(score); /* call function process */ printf("Enter next score>"); scanf("%d", &score); } Loop control variable is an input variable (score in this case). The data entry for score comes before the while loop and at the very bottom of the while loop. In your problem, there are 3 input variables: id, hours, rate where id is the first of the 3. Which should be the loop control variable? ____ id - first data item read for each person Where should you put the statements that read in the values of the other two input variables? ____ at the beginning of the loop By the way -- make sure you call a function to compute gross pay and net pay as specified in the problem statement. The function definitions should come after the main function. Write a loop that reads a series of numbers and calculates their product. Display the final product. The calculation should stop when the number 0 is read. (counting or sentinel?) sentinel double product; double num; double sentinel = 0; product = _____; 1 printf("Enter a number to multiply or 0:"); scanf( ); &num while ( ) num != sentinel { _______ = _______ * ________; product *= num printf("Enter a number to multiply or 0:"); scanf( ); &num } Write a loop that reads a series of numbers and calculates their product. Display the final product. The calculation should stop when the number 0 is read. Also display the count of numbers mulitplied (counting loop or sentinel?) sentinel but counter is used as a program variable double product; double num; double sentinel = 0; int count; count = _____; 0 product = _____; printf("Enter a number to multiply or 0:"); scanf( ); &num while ( ) num != sentinel { _______ = _______ * ________; product *= num; count _____________________; count++; printf("Enter a number to multiply or 0:"); scanf( ); &num } printf("Number of items multiplied is %d\n", count); Write a loop that reads up to 10 numbers and calculates their product. Display the final product and the number of items read. The calculation should stop when the 10th number is read or the number 0 is read. (counting or sentinel?) sort of a combination - hybrid double product; double num; double sentinel = 0; int count; int MaxItems = 10; printf("Enter a number to multiply or 0:"); scanf( ); &num ______ = ______; count = 0; product = 1; while ( num != sentinel && count < MaxItems ) { _______ = _____ * ______; product *= num; ______________; count++; printf("Enter a number to multiply or 0:"); scanf( ); &num } printf("Number of items multiplied is %d\n", count);