Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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:
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement