Basics: C++ using Visual Studio Code, error message is in terminal, nothing is in "problems" or "Output" section.
#include <iostream>
using namespace std;
int main()
{
int number;
cout << "Enter your age: ";
cin >> number;
cout << "Your age is: " << number;
return 0;
}
Basics: Visual Studio Code, C++
When I ran the above code it responded with the following in the terminal: "Enter your age: 22 Your age is: 22%"
Does this mean the user would only see 22 or would they see 22%?