Computer Science 101 Quiz 7 Name ______________________ int sum; // the sum of the single digit numbers int value; // the value just read int howmany; // howmany values were read 1 sum = 0; 2 howmany = fscanf(stdin, "%d", &value); 3 while (howmany == 1) { 4 if (value > 4) 5 sum = sum + value; 6 howmany = fscanf(stdin, "%d", &value); } 7 fprintf(stdout, "The sum was %d \n", sum); Suppose the input to this program is 5 1 6 Complete the execution trace table. Write the line number of EVERY statement that is executed even if the statement only tests but doesn't modify a variable. Write the new value of a variable in the appropriate column each time the variable is updated. Code Line # sum value howmany ---------------------------------------------- 1 0 ? ? ---------------------------------------------- 2 5 1 ---------------------------------------------- 3 ---------------------------------------------- 4 ---------------------------------------------- 5 5 ---------------------------------------------- 6 1 1 ---------------------------------------------- 3 ---------------------------------------------- 4 ---------------------------------------------- 6 6 1 ---------------------------------------------- 3 ---------------------------------------------- 4 ---------------------------------------------- 5 11 ---------------------------------------------- 6 -1/0 ---------------------------------------------- 3 ---------------------------------------------- 7 ----------------------------------------------