#include #include #include #define N 100 //Write the prototypes of the functions vecread,vecprint,calc,writeoutp here int main() { int m,n,flag; double u[N],v[N],lu,lv,angle; vecread(u,"vecu.dat",&m); vecprint(u,'u',m); vecread(v,"vecv.dat",&n); vecprint(v,'v',n); flag=calc(u,v,m,n,&lu,&lv,&angle); writeoutp("output.dat",lu,lv,angle,flag); return 0; } //Write details of function calc here //Write details of function writeup here //Write details of function vecread here //Write details of function vecprint here