#include <stdio.h>
#include <time.h>
#include <stdlib.h>
int prod (int a, int b)
{
return a*b;
}
int sum (int a, int b)
{
return a+b;
}
int (*operation)(int a, int b);
int main()
{
srand(time(NULL));
operation = ∑
int a = rand() % 100;
int b = rand() % 100;
int sum = (*operation) (a, b);
printf("The sum of two numbers %d and %d is %d\n", a, b, sum);
operation = ∏
int result = (*operation) (a, b);
printf("The product of two numbers %d and %d is %d\n", a, b, result);
return 0;
}