If you want to use cout and cin you'll have to include <iostream> and use namespace std.
A sample program is something like this:

#include <iostream>
int main() {
int x, y, z, min; // Don't forget you can declare multiple variables of the same type on the same line
std::cout<<"Enter 3 numbers: ";
std::cin>> x >> y >> z; // When entering the three numbers you have to leave spaces between them here
min = x;
if (y<x && y<z)
y=min;
if (z<x && z<y)
z=min;
std::cout<<"min is : " << min << std::endl; // This prints text with the first insertion operator '<<', and a variable with the second
// I added an endline for the beauty of it
system("pause"); // Pauses the application
return 0;
}

Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question …

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...