i have come across this question and could not get why it is not asking for input. output of the code is cin0. please explain it why so.
#include
Shadowing.
int cin; cin >> cin;
Both cin in the second line refer to the int, not the class you're used to. You're calculation a>>a (ie. roughly equivalent to a / 2^a), just with a variable called cin.
a>>a
a / 2^a
Choose another variable name.