hello, this is my first try of math operation with variables:

#3include <iostream.h>

int main()

{

// declare variables

int firstNumber;

int secondNumber;

int result = firstNumber + secondNumber;

//read variables content

cout<<"please enter 1st number:";

cin>>firstNumber;

cout<<"enter 2nd number:";

cin>>secondNumber;

// get the result of a + b

count<< "you get: result";

//here's my problem, i just can introduce firstnumber valor, then window closes. I use

cin.get();

result 0;

}

So, how can i mantain the windows open, or maybe let press enter without closing window.

Thanks.