int n, i, fact = 1; // Declare variables to store the number, the loop counter and the factorial ...