CODE
#include <iostream>
using namespace std;
int main() {
// Declare the variables
int n = 19;
long int factorial = 1;
// Each time, the factorial multiplies by integers from 1 to the maximum number.
for(int i = 1; i <= n; i = i + 1) {
factorial = factorial * i;
}
// Display the factorial
cout << factorial;
return 0;
}
EXPLANATION
Declare n and factorial as integers and long integers.
The "for loop" runs from 1 to the maximum number and increments by 1. The factorial multiplies each time by integers from 1 to n.
Print the factorial.