// constants (or #define with no ; at end of line) won't change. They're used here to set pin numbers:
int redLED = 11;
int greenLED = 10;
int blueLED = 9;
int buzzPin = 8;
int myDelay = 1000;
int myNumb;
String myColour = "";
String msg="What buzzer number? ";

// Variables will change:


void setup() {
  pinMode (redLED, OUTPUT);
  pinMode (greenLED, OUTPUT);
  pinMode (blueLED, OUTPUT);
  pinMode(buzzPin, OUTPUT);
  Serial.begin(9600);
  }

void loop() {
 
Serial.println(msg);
while (Serial.available()==0){
}
myNumb=Serial.parseInt();
//Serial.println(myNumb);
if (myNumb>10){
  digitalWrite(buzzPin, HIGH);
  delay(myDelay);
  digitalWrite(buzzPin, LOW);
}
}