Hi guys Ive been having problems with calculations on arrays. What i want to do is times two numbers in an array for example:
4 x 4 = 16
Here's what i'm trying to do
cin >> timeArray;
cint >> timeArray;
answer = timeArray  * timeArray;
the program compiles OK, the problem is i get a load of numbers can anyone help.