String name = "";
String number = "";
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("hello world");
while(Serial.available() == 0 );
name = Serial.readString();
Serial.println("enter your mobile number");
Serial.println("welcome to wokwi:" + name);
number = Serial.readString();
}