#include "header.h" int main(void) { initCORDIC(); //Makes sin and cos tables double inputarray[max]={0}; //Preps an array to hold input. double timearray[3]={0}; //Preps an array to time execution. int flag=1; //How much of input array was filled. int count=0; //How many sins were asked for in total while(flag!=0) //While we have nothing in the array { flag = collectinput(inputarray);//Collect input! count+=flag; //Add to grand tally timedsin(inputarray,flag,timearray); //Process them } reporttime(count,timearray); //Report on the time. return 0; }