Advertisement
Abreu-Hoff

Untitled

Apr 4th, 2021
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int distance = 0;
  8.     //your code goes here
  9.     for(int distance = 0; distance <= 200; distance +=40)
  10.     {
  11.      cout << distance << endl;  
  12.     }
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement