#include <stdio.h>#include <stdarg.h>#include <time.h>#define NINT 1000000000int main(void);void adder(int *, int *, double *, double *);int main ()/* This program calculates the variance of the first 10^9 integers     *//* using both cpus on the dual processor Macintosh.                    *//* To compile with the Absoft C compiler, use:                         *//* acc -A -O adder.c MacMP.c "{SharedLibraries}"MPLibrary -o adder.out */{int n=NINT, start=0;clock_t start_program, end_program;double sum1, sum2, mean, mesq;start_program = clock ();adder (&n, &start, &sum1, &sum2);mean = sum1 / n;mesq = sum2 / n;printf("%15d %20.3f %20.3f\n", n, mean, mesq - (mean * mean));end_program = clock ();printf("\ntime in sec: %7.2f\n", (end_program-start_program)/60.);return 1;}voidadder (int *n, int *start, double *s1, double *s2){int i;double ls1 = 0.0, ls2 = 0.0;for (i=(*start);i<(*n);i++)   {      ls1+=(double) i;      ls2+=(double) i*i;   }*s1 = ls1;*s2 = ls2;}