#include<iostream>
usingnamespace std;
int main()
{
int number;
char symbol;
cout << "Enter a number:\n";
cin >> number;
cin.get(); //<-add this here! (to get the '\n' after the number)
cout << "Enter a letter;\n";
cin.get(symbol);
cout << number << " " << symbol << endl;
system("pause");
return 0;
}