Im trying to write a program that take two arrays on different printf input, and then compute the dot product, so far this is where i get, i need help
#include <stdio.h>
#include <stdio.h>
#define SIZE 8
float droprod(float x[], float y[], int size[]);
int main()
{
int i ;
int Vx[SIZE], Vy[SIZE] ;
printf("Enter 1st vector (q to quit) ");
for (i=0;i<SIZE;i++)
{
scanf("%d", &Vx[i]);
}
printf("Enter 2nd vector (q to quit) ");
for (i=0;i<SIZE;i++)
{
scanf("%d", &Vy[i]);
}
printf("vectors [%d] [[%d] ", Vx[SIZE], Vy[SIZE]); // to double check my input, and it is not giving me the right input.
return 0;