#!/usr/bin/perl
#
# Il numero di partenza viene fornito come costante.
#
$input = 11;
$numero = $input;
foreach $cont (1 .. ($input -1))
{
$numero *= $cont;
}
print "Il fattoriale รจ $numero.\n";
IyEvdXNyL2Jpbi9wZXJsCiMKIyBJbCBudW1lcm8gZGkgcGFydGVuemEgdmllbmUgZm9ybml0byBjb21lIGNvc3RhbnRlLgojCiRpbnB1dCA9IDExOwokbnVtZXJvID0gJGlucHV0Owpmb3JlYWNoICRjb250ICgxIC4uICgkaW5wdXQgLTEpKQogIHsKICAgICRudW1lcm8gKj0gJGNvbnQ7CiAgfQpwcmludCAiSWwgZmF0dG9yaWFsZSDDqCAkbnVtZXJvLlxuIjsK