Hey guys I am stuck with this program and i need help with it
this is what i got until now
#include <stdio.h>
#include "checkit.h"
double vectorDotProduct(double x1, double y1, double z1, double x2, double y2, double z2)
{
return(x1 * x2 + y1 * y2 + z1 * z2);
}
int main (void)
{
int x,y,z,a,b,c;
printf("Please enter the x, y, and z coordinates for the first vector: ");
scanf("%f%f%f",&x,&y,&z);
printf("Please enter the x, y, and z coordinates for the second vector: ");
scanf("%f%f%f",&a,&b,&c);
return 0;
}
this is for my hw but I am absolutely stuck on this one. Im trying to get help but its not working out.