C++ program to find sum and product of 5 numbers using inline function

 

Sample Input
Enter 5 nos.:1 2 4 7 6
Sample Output
Sum=20
Product=336

You may also like...