gabbyshimoni icon

targil_loop1

gabbyshimoni | PRO | 04/30/18 12:21:43 PM UTC | 0 ⭐ | 620 👁️ | Never ⏰ | []
C++ |

370 B

|

None

|

0 👍

/

0 👎

void setup() {
  Serial.begin(9600);
  int x, y1, y2;
 
  for (x = -10; x <= 10; x++) {
    y1 = x * x + 8;
    y2 = x + 10;
    if (y1 == y2) {
      Serial.print("x="); Serial.print(x);
      Serial.print("y1="); Serial.print(y1);
      Serial.print("y2="); Serial.print(y2);
    }
  }
 
}
 
void loop() {
  // put your main code here, to run repeatedly:
 
}

Comments