Hi ,

Im Just starting C++ again,

I need to find outhow you get a prog to pause for example a basic prog like this will just dissapear beofre you get to see the result.


#include <iostream.h>

int main()

{

int a,b,c,d

cout<<"Prices of eggs";
cin>>a;
cout<<"Prices of bread";
cin>>b;
cout<<"Price of milk";
cin>>c;
cout<<"Prie of chicken";
cin>>d;
cout<<"total price = "<<a+b+c+d;
return 0;

}

thanks !!