#!/usr/bin/perl
# Il numero di partenza viene fornito come costante.
$numero = 7;
$cont = $numero -1;
while ($cont > 0)
{
$numero = $numero * $cont;
$cont = $cont -1;
}
print "Il fattoriale รจ $numero.\n";
IyEvdXNyL2Jpbi9wZXJsCgojIElsIG51bWVybyBkaSBwYXJ0ZW56YSB2aWVuZSBmb3JuaXRvIGNvbWUgY29zdGFudGUuCiRudW1lcm8gPSA3OwokY29udCA9ICRudW1lcm8gLTE7CndoaWxlICgkY29udCA+IDApCiAgewogICAgJG51bWVybyA9ICRudW1lcm8gKiAkY29udDsKICAgICRjb250ID0gJGNvbnQgLTE7CiAgfQpwcmludCAiSWwgZmF0dG9yaWFsZSDDqCAkbnVtZXJvLlxuIjs=