Advertisement
gabbyshimoni

targil5-19042020

Apr 20th, 2020
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. void setup() {
  2.   Serial.begin(9600);
  3.   for (int x = 5; x <= 20; x += 3) {
  4.     int y = 3 * x - 5;
  5.     Serial.print("x=");
  6.     Serial.print(x);
  7.     Serial.print("   y=");
  8.     Serial.println(y);
  9.   }
  10. }
  11.  
  12. void loop() {
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement