#include <stdio.h>
int
double_triple (int x, int *d)
{
int t;
*d=2*x;
t=3*x;
return (t);
}
int
main(void)
{
int a,twice,thrice;
a=10;
thrice = double_triple (a, &twice);
printf("%d is two times %d.\n",twice,a);
printf("%d is three times %d.\n",thrice,a);
return(0);
}