Main.cc: In function 'int main()':
Main.cc:5:31: error: invalid operands of types 'int*' and 'int' to binary 'operator&'
scanf("%1d%1d%1d%1d%1d%1d",&a&b&c&d&e&f)
^
Main.cc:10:1: error: 'else' without a previous 'if'
else{
^