Untitled
#include<iostream> using namespace std; int main(){ int a,b,c; cin >> a; b = a; c=1; while (b>0){ c = c*b; b-=1; } cout << c; }
#include<iostream> using namespace std; int main(){ int a,b,c; cin >> a; b = a; c=1; while (b>0){ c = c*b; b-=1; } cout << c; }