#include "basic.h" int NumberOfBodies; struct object{ double mass; double radialdistance; double polarangle; double azimuthalangle; double xcoordinate; double ycoordinate; double zcoordinate; }; struct object * objectarray = NULL; struct object object; int i=0; int input(){ printf("Insert number of bodies in the System:"); scanf("%d",&NumberOfBodies); objectarray = calloc(NumberOfBodies, sizeof(struct object)); if (objectarray == NULL) { fprintf(stderr, "No more memory can be allocated \n Hope you like eels! \n"); } for (i=0; i