Webeduclick.com
Computer Science Tutorials
#include<iostream> using namespace std; int main() { int n=5,i,fact = 1; for(i=1; i<=n; i++) { fact = fact * i; } cout<<"Factorial Number is :"<< fact<<endl; return 0; }
← PreviousNext →