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
2
Posts with Downvotes
1
Downvoting Members
2
2 Commented Posts
0 Endorsements
Ranked #107.55K
~158 People Reached
Interests
Programming.
PC Specs
General Pc.
Favorite Forums
Favorite Tags
c++ x 1

1 Posted Topic

Member Avatar for sidrah

#include<stdio.h> #include<conio.h> void main() { int A,S,a,b; long int F=1; clrscr(); printf("enter two number"); scanf("%d%d",&a,&b); A=a+b; printf("\nA=%d",A); S=a-b; printf("\nS=%d",S); for(i=1;i<=a;i++) { F=F*i; } printf("\nthe factorial first number F(a)=%ld",F); for(i=1;i<=b;i++) { F=F*i; } printf("\nthe factorial of second number F(b)=%ld",F); getch(); }

Member Avatar for Mike Savino
0
158

The End.