#include<stdio.h>void main(){int a=1;int n=5;while(n!=0){a=a*n;n=n-1;printf("%d",a); }}
Standard input is empty
52060120120
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!