/* This example shows simple computing of
   factorial. The highest value of 8-bit
   range is 5. The result is 0x78
*/


int a,c;

void main() {
 c=1;
  for (a=5;a>0;a=a-1) {		/* Main iteration */
   c=c*a;
  } 
 printf(c);			/* Result */
}