void setup()
{
Serial.begin(9600);
while(!Serial){}
Serial.println("Enter the number");
int a=Serial.read();
Serial.print("The number is ");
Serial.print(a);
}
void loop()
{
}
Serial.read() is being ignored, iam not able to read through the serial monitor. Is the code right?