Answer:
#include <stdio.h>
int product(int x,int y)
(
if(y==1)
return x;
else
return (x+product(x,y-1));
)
int main()
(
int a,b;
scanf("%d %d",&a,&b);
printf("%d\\*,product(a,b));
return 0;
)
Step-by-step explanation:
See above code as explanatory enough.