class exp{
public static void main (string  args  [] ){
int  i, j, n; 
n=5;
f=1;
i=1;
while (i<=n){
f=f*i;
i++;
system. out. print\n (f);
          }
      }
}

Comments

Popular Posts