#include <iostream>
usingnamespace std;
main() {
bool a;
int x;
cout<< "Please enter number higher than 10" << endl << cout<<"If the number is higher than 10 you'll see 1 else 0";
cin>>x;
a=(x>10);
cout<<a;
cin>>x;
}
On the output I saw :
Please enter number higher than 10
0x486a08If the number is higher than 10 you'll see 1 else 0
Why do I see 0x486a08 ? what is wrong on my code ?
Thanx