Computer Science, asked by Prathamesh1810, 10 months ago

Write a c program to find product of two numbers using function.​

Answers

Answered by elsajacob2526
4

Answer:

#include <stdio.h>

int multiplyNum(int a, int b);

void main()

{

int num1,num2,product;

printf("Enter the two number ");

scanf("%d %d",&num1,&num2);

product=multiplyNum(num1,num2);

printf("The product of these numbers :%d",product);

}

int multiplyNum(int a, int b)

{

int result=a*b;

return result;

}

Similar questions