Hi, I have updated the code. It is workin fine as expected. Highlighted the code changes below. #include int main(void) { int totalVal = 0; int userInt = 0; int temp = 0; // FIXME: Ask user to input an integer, store in userInt printf(\"Enter an integer: \"); scanf(\"%d\", &userInt); temp = userInt; totalVal = userInt; // FIXME: Add while loop that counts down to 1, updating totalVal while(userInt != 1){ userInt--; totalVal = totalVal * userInt; } userInt = temp; printf(\"%d! is %d\ \", userInt, totalVal); return 0; } Output: Enter an integer: 5 5! is 120 Solution Hi, I have updated the code. It is workin fine as expected. Highlighted the code changes below. #include int main(void) { int totalVal = 0; int userInt = 0; int temp = 0; // FIXME: Ask user to input an integer, store in userInt printf(\"Enter an integer: \"); scanf(\"%d\", &userInt); temp = userInt; totalVal = userInt; // FIXME: Add while loop that counts down to 1, updating totalVal while(userInt != 1){ userInt--; totalVal = totalVal * userInt; } userInt = temp; printf(\"%d! is %d\ \", userInt, totalVal); return 0; } Output: Enter an integer: 5 5! is 120.