This is what I have so far. I have been testing it on c++ shell and it gives me error.
#include <iostream>
#include <string>
int main() {
cout << "Enter a number between 3 and 12: ";
int n;
cin >> n;
if(n>=3 && n<=12)
cout<<"Good number."endl;
else
cout<<"Bad number"endl;
return 0; //indicates success
}//end of main