/* Copyright (c) 2001-2009 by SoftIntegration, Inc. All Rights Reserved */
#include <numeric.h>
 
int main () {  
    int i, a[6], *p;
    array double b[6];
  
    lindata(2, 12, a); 
    printf("a = ");
    for(i=0; i<6; i++) {
      printf("%d ", a[i]);
    }
    p = &a[0];
    lindata(20, 120, p, 6); 
    printf("\na = ");
    for(i=0; i<6; i++) {
      printf("%d ", a[i]);
    }
    printf("\nb = ");
    lindata(2, 12, b); 
    printf("%g", b);
}
