Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~103 People Reached
Favorite Forums
Favorite Tags
c x 1
Member Avatar for vikasnahar

[code=c] #include<iostream> using namespace std; int fact (int num); int main () { cout<<"Enter a number"<<endl; int number; cin>>number; cout<<"Displaying number: "<<number<<endl; cout<<"Calculating Factorial for the number"<<endl; int fact; fact = fact(number); return 0; } int fact (int num) { if(num==1) { return num; } else { return num * …

Member Avatar for seemant_sun
-1
103