Hello, I'm very new to programming, as I just started a couple of weeks ago,
and I am doing some excersises, but when I try to run the program, I get the error displayed in the title of this post.
#include <iostream>
#include <string>
using namespace std;
int main()
{
int number;
cout << "Please enter an integer between 0 and 35." << endl;
if (number < 0)
{
cout << "Please enter an integer between 0 and 35." << endl;
}
else if (number > 35)
{
cout << "Please enter an integer between 0 and 35." << endl;
}
else if (number >= 0 && number <= 9)
{
cout << number << endl;
}
else if (number >= 10 && number <= 35)
{
cout << static_cast<char> (number) << endl;