Hello, again, guys!

I have another problem... I'm trying to compute the product of a matrix and a vector.

I could ask for the values of the matrix/vector but I wasn't asked to do so... It's easier to set the values from the beginning

The problem I have is that I get 2 errors when I try to run the program, they occur on lines 20 and 23. MVS says "printf indentifier not found" on both lines... any help ? Thanks!

LE: Ohh wait... C shouldn't be a matrix at the end ? Or am I too tired today? Because I set "int C[3]"...

Code:

#include <cstdlib>
#include <math.h>
#include <conio.h>
int main()
{
int A[3][3] = {{2, 4, 3}, {1, 5, 6}, {7, 3, 7}};
int B[3] = {2, 5, 6};
int C[3];
int i, j;
for ( i = 0; i < 3; i++)
{
for ( j = 0; j < 3; j++)
{
C[i] += A[i][j] * B[j];
}
}
printf ("The product of the matrix A and vector B is: ");
for ( i = 0; i < 3; i++ )
{
printf ("%d", C[i]);
}
_getch();
}