printf("enter the value of k");
for (int i=1;i<=num;i++)
factorial of number is calculated if entered number is 0 then it print 1. factorial mins multiplication of numbers upto entered number if we enter 3 then it primt 321=6
It looks like you're new here. If you want to get involved, click one of these buttons!