@ -4,7 +4,14 @@ using namespace std;
int main()
{
cout << "Enter A and B";
int a, b;
cout << "Enter A and B: " << endl;
int a, b, sum;
cin >> a >> b;
sum = a + b;
cout << "Sum of A and B: " << sum << endl;
std::cout << "Press 'Enter' for exit...";
std::cin.ignore(); // èãíîðèðóåì ñèìâîë íîâîé ñòðîêè èç ïðåäûäóùåãî ââîäà
std::cin.get();
return 0;
}