1. develop a C program to print the sum, the average, the product, the largest and the smallest of 3 integers that are input from the keyboard. 2. define an array x of size 5, using call-by-reference (that is, use pointer) to pass the array to a function, named summation. In main: define array, print out the array, pass the array and show the results on screen. In function summation: take arrays from main and sum the arrays using the formula below sum=4summation0 xi*xi Solution #include <stdio.h> #include<conio.h> void summation(int a[],int size) { int i; int sum = 0; for(i=0;i<size;i++) { sum = sum+ 4*a[i]*a[i]; } printf(\"\ Summation is %d\",sum); } int main(void) { // your code goes here int a,size; int b[] = {1,2,3}; int i =0,max = 0,min =0 ,sum = 0 ,product = 1,average = 0 ; for(i=0;i<3;i++) { printf(\"Enter the value of %d number\",i+1); scanf(\"%d\",&a); if(i==0) min = a; sum =sum+a; product = product*a; if(a>=max) max = a; if(a<=min) min = a; } average = sum/3; printf(\"Sum is %d\ Product is %d\ average is %d\ max is %d\ min is %d\ \",sum,product,average,max,min); size = sizeof(b)/sizeof(b[1]); printf(\"Array Content\ \"); for(i=0;i<size;i++) { printf (\"%d \",b[i]); } summation(b,size); getch(); return 0; } .