Help Me! Noob trying to do a piano.

Hello, I am trying to do a piano with an Arduino UNO, 8 buttons representing an octave, and a buzzer
But with the code I have so far it gives me this error message: "Error compiling for board Arduino/Genuino Uno.
Help!

int NOTE_C3 = 128;
int B1;

int NOTE_D3 = 144;
int B2;

int NOTE_E3 = 161;
int B3;

int NOTE_F3 = 171;
int B4;

int NOTE_G3 = 192;
int B5;

int NOTE_A3 = 216;
int B6;

int NOTE_B3 = 242;
int B7;

int NOTE_C4 = 256;
int B8;

int duration = 200;

int pinBuzzer = 11;

void setup (){
pinMode (1,INPUT_PULLUP);
pinMode (2,INPUT_PULLUP);
pinMode (3,INPUT_PULLUP);
pinMode (4,INPUT_PULLUP);
pinMode (5,INPUT_PULLUP);
pinMode (6,INPUT_PULLUP);
pinMode (7,INPUT_PULLUP);
pinMode (8,INPUT_PULLUP);
}

void loop (){
B1==digitalRead(6);
B2==digitalRead(5);
B3==digitalRead(4);
B4==digitalRead(3);
B5==digitalRead(10);
B6==digitalRead(9);
B7==digitalRead(8);
B8==digitalRead(7);

if(B1==0){
tone(pinBuzzer, NOTE_C3, duration);
delay(500);
}
if(B2==0){
tone(pinBuzzer, NOTE_D3, duration);
delay(500);
}
if(B3==0){
tone(pinBuzzer, NOTE_E3, duration);
delay(500);
}
if(B4==0){
tone(pinBuzzer, NOTE_F3, duration);
delay(500);
}
if(B5==0){
tone(pinBuzzer, NOTE_G3, duration);
delay(500);
}
if(B6==0){
tone(pinBuzzer, NOTE_A3, duration);
delay(500);
}
if(B7==0){
tone(pinBuzzer, NOTE_B3, duration);
delay(500);
}
if (B8==0){
tone(pinBuzzer, NOTE_C4, duration);
delay(500);
}
else {
noTone(pinBuzzer);
}

}

B1==digitalRead(6);Oops.

Where's the rest of the error messages?

Users/oscarpureco/Documents/Arduino/PIANO/PIANO.ino:2:5: note: in expansion of macro 'B1'
int B1;
^
exit status 1
Error compiling for board Arduino/Genuino Uno.

BY THE WAY, PIANO MEANS KEYBOARD, My bad

B1 looks like a binary number to the compiler, so it chokes when you try to use it as a variable name.

Also:

  B1 == digitalRead(6);
  B2 == digitalRead(5);
  B3 == digitalRead(4);
  B4 == digitalRead(3);
  B5 == digitalRead(10);
  B6 == digitalRead(9);
  B7 == digitalRead(8);
  B8 == digitalRead(7);

You need to do some reading on the difference between = and == in C

I solve it, thanks!